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
38
votes
2 answers

What is the advantage of saving `.npz` files instead of `.npy` in python, regarding speed, memory and look-up?

The python documentation for the numpy.savez which saves an .npz file is: The .npz file format is a zipped archive of files named after the variables they contain. The archive is not compressed and each file in the archive contains one variable in…
SuperCiocia
  • 1,823
  • 6
  • 23
  • 40
38
votes
4 answers

Unpack inner zips in zip with Maven

I can unpack zip file via the maven-dependency plugin, but currently I have the problem that inside that zip file other zip files are include and I need to unpack them as well. How can I do this?
khmarbaise
  • 92,914
  • 28
  • 189
  • 235
38
votes
3 answers

JAR - extracting specific files

I have .class and .java files in JAR archive. Is there any way to extract only .java files from it? I've tried this command but it doesn't work: jar xf jar-file.jar *.java
user3521479
  • 565
  • 1
  • 5
  • 12
37
votes
4 answers

Gradle task to create a zip archive of a directory

I have a gradle task to create a zip archive of a directory. The gradle task is: task archiveReports(type: Zip) { from '/projects/Reports/*' archiveName 'Reports.zip' } When I am running the command 'gradle archiveReports', its showing the…
Praveen
  • 1,378
  • 2
  • 15
  • 26
36
votes
5 answers

Bitcode Compile During Archive Never Finishes

I am preparing an app for ad hoc distribution via Test Flight. I have stepped through (successfully) all of the preparatory steps in this Ray Wenderlich article already (https://www.raywenderlich.com/48750/testflight-sdk-tutorial), and I feel…
zeeple
  • 5,509
  • 12
  • 43
  • 71
35
votes
6 answers

How to open and edit a *.gz file within vim (with auto unzip/zip)

Is it possible to auto unzip/zip *.gz files within vim?
steveyang
  • 9,178
  • 8
  • 54
  • 80
35
votes
7 answers

What's the best "file format" for saving complete web pages (images, etc.) in a single archive?

I'm working on a project which stores single images and text files in one place, like a time capsule. Now, most every project can be saved as one file, like DOC, PPT, and ODF. But complete web pages can't -- they're saved as a separate HTML file…
Marco
  • 369
  • 1
  • 3
  • 5
34
votes
2 answers

Difference between a packaged archive and an exploded archive

I can't seem to find on the internet the difference between a packaged archive and an exploded archive. Does someone please name some references?
Oh Chin Boon
  • 23,028
  • 51
  • 143
  • 215
34
votes
1 answer

Xcode 4 terms "Build for testing / Build for running / build for profiling / build for archiving"

What do the following actions in Xcode 4 do? Build for Testing Build for Running Build for Profiling Build for Archiving I'm not sure when to use each of these (or whether to use any of them at all).
harshit2811
  • 827
  • 1
  • 7
  • 21
33
votes
2 answers

Xcode 8: Preparing Archive takes forever

Today I tried to archive and upload a App to iTunes Connect Beta Testing. Xcode stays at the point "Copying Swift standard libraries" for about 10 minutes.. Two days ago it just were some seconds.. The CPU runs at 100% an the Fan is really really…
Luke Pistrol
  • 1,199
  • 3
  • 12
  • 26
32
votes
7 answers

Problem importing Android project archives into Eclipse

My apologies if this is a stupid newbie question... I'm using Eclipse (Helios release) and have the Android SDK all configured as per the developer.android.com recommendations. I can create and run new projects without any problem but I can't import…
baroquedub
  • 952
  • 1
  • 10
  • 13
32
votes
5 answers

Manipulate an Archive in memory with PHP (without creating a temporary file on disk)

I am trying to generate an archive on-the-fly in PHP and send it to the user immediately (without saving it). I figured that there would be no need to create a file on disk as the data I'm sending isn't persistent anyway, however, upon searching the…
ralokt
  • 1,855
  • 3
  • 17
  • 19
31
votes
4 answers

How to save HTML pages as one file?

I want to be able to save / archive HTML pages as one file (without those pesky external folders). I want the resulting file to contain all styles, images, and links (videos and Flash would be nice, too, but not as crucial). I want the resulting…
Dimitri Vorontzov
  • 7,834
  • 12
  • 48
  • 76
30
votes
1 answer

Is there a way to export current hg repository head in a tar ball

HI, Is there a way to export current hg repository head in a tar ball? I don't need all the hg meta files in the tar ball (e.g history/diff).
michael
  • 106,540
  • 116
  • 246
  • 346
30
votes
3 answers

How can I recover files from a corrupted .tar.gz archive?

I have a large number of files in a .tar.gz archive. Checking the file type with the command file SMS.tar.gz gives the response gzip compressed data - deflate method , max compression When I try to extract the archive with gunzip, after a delay I…
Tom Melluish
  • 303
  • 1
  • 4
  • 8