Questions tagged [archive]

A location or file that stores other files or data, normally accompanied by compression, encryption, sorting or organizing.

An archive is a place that you can store files or other data for storage or for sorting.

Archives can be a number of things such as a Database or a Zip or Cab file.

Normally the archive that you place the files or data into, gives you some sort of functionality such as encryption, compression or data querying functionality.

2445 questions
69
votes
8 answers

How do I extract a tar file in Java?

How do I extract a tar (or tar.gz, or tar.bz2) file in Java?
skiphoppy
  • 97,646
  • 72
  • 174
  • 218
58
votes
9 answers

How do you archive an entire website for offline viewing?

We actually have burned static/archived copies of our asp.net websites for customers many times. We have used WebZip until now but we have had endless problems with crashes, downloaded pages not being re-linked correctly, etc. We basically need an…
jskunkle
  • 1,271
  • 3
  • 13
  • 24
50
votes
5 answers

zcat won't unzip files properly

I need to unzip a compressed file on the fly in my program. It works when I try it on my own linux computer, but for some reason the school computers fail whenever I tell them to do it. To unzip I'm using the following command: zcat…
Zain Rizvi
  • 23,586
  • 22
  • 91
  • 133
47
votes
6 answers

How can I combine several C/C++ libraries into one?

I'm tired of adding ten link libraries into my project, or requiring eight of them to use my own. I'd like to take existing libraries like libpng.a, libz.a, libjpeg.a, and combine them into one single .a library. Is that possible? How about…
GhassanPL
  • 2,679
  • 5
  • 32
  • 40
46
votes
11 answers

Xcode 8 can't archive "Command /usr/bin/codesign failed with exit code 1"

I've got a serious problem on Xcode 8 on macOS Sierra. when I try to build my app, I get the following issue. CodeSign /Users/me/Library/Developer/Xcode/DerivedData/MyApp-gnoiiwnelmxzdidnijaswisrwdqe/Build/Products/Debug-iphonesimulator/MyApp.app cd…
Kee
  • 461
  • 1
  • 4
  • 5
43
votes
7 answers

Delete log files after x days

I would like to log with Nlog using the file target like in this example. How can I realize a deletion of the files after X days without archiving them? Or is it possible to archive the files to the same folder?
Freddy
  • 693
  • 2
  • 6
  • 12
42
votes
2 answers

What can I delete from ~/Library/Developer/Xcode folder?

My ~/Library/Developer/Xcode folder is over 17 gigs in size. As I work in virtual machine (Parallels 12) with a 64 gig limit in total virtual disk size, I need to recover some disk space. Amongst the folders such…
Basil Bourque
  • 303,325
  • 100
  • 852
  • 1,154
42
votes
2 answers

How to create a tar file that omits timestamps for its contents?

Is there a way to create a .tar file that omits the values of atime/ctime/mtime for its files/directories? Why do we want to do this? We have a step in our build process that generates a directory of artifacts that gets packaged into a tarfile. We…
Mickalot
  • 2,431
  • 3
  • 22
  • 23
41
votes
2 answers

jenkins archive artifacts - what's the format?

I can't seem to figure out how to use the basic archive artifacts statement. What I want is to archive an entire subtree but naming it doesn't seem to work. Nor does directory/** nor directory/**/ I've read the ant doc but it doesn't make much sense…
K Richard Pixley
  • 617
  • 1
  • 6
  • 10
40
votes
7 answers

Generate xcarchive into a specific folder from the command line

For the purposes of CI, I need to be able to generate an XCARCHIVE and an IPA file in our nightly build. The IPA is for our testers, to be signed with our ad-hoc keys, and the XCARCHIVE is to send to the client so that they can import it into Xcode…
Chris
  • 39,719
  • 45
  • 189
  • 235
40
votes
1 answer

Xcode 4 archive warning to skip copy phase

I have an app for the Mac that I am trying to archive. I have done this in the past with an earlier version of Xcode however when I archive with Xcode 4, I get the following warning: warning: skipping copy phase strip, binary is code signed:…
David
  • 14,205
  • 20
  • 97
  • 144
40
votes
5 answers

Programmatically extract tar.gz in a single step (on Windows with 7-Zip)

Problem: I would like to be able to extract tar.gz files in a single step. This makes my question almost identical to this one: Stack Overflow question for tar-gz. My question is almost the same, but not the same, because I would like to do this on…
dreftymac
  • 31,404
  • 26
  • 119
  • 182
39
votes
4 answers

Any good tool for browsing archives(Ear,War, Jar) on OSX

On Linux i can use file-roller and open an browse the content of an EAR file without manually open it, can even dig into contained WAR file and within that JAR files quickly. This is another of those must have tools I'm missing on OSX (along with…
Thibaut Colar
  • 919
  • 2
  • 9
  • 19
39
votes
6 answers

Extract .xip file into a folder from command line?

Apple occasionally uses a proprietary XIP file format, particularly when distributing versions of Xcode. It is an analog to zip, but is signed, allowing it to verified on the receiving system. When a XIP file is opened (by double-clicking), Archive…
Antony Raphel
  • 2,036
  • 2
  • 25
  • 45
38
votes
2 answers

Git : How to get a snapshot of a git repository

I'm looking for the right way to get an archive of a git repository without the .git/ directory in order to send a daily snapshot to testers.
claf
  • 9,043
  • 17
  • 62
  • 79