Compression and archive format that stores one or more files into a single file, usually with a .zip file extension.

learn more… | top users | synonyms

0
votes
2answers
16 views

Should I archive old folders

I have many folders on my hard drives that contain many media files and logs for old websites I have created for clients that I rarely ever access now. I want to know aside from compressing them what ...
2
votes
2answers
3k views

Unzip file from source to destination within user directory across multiple versions of windows

I have a source zip file which is located in a user's "My Documents" directory. It is guaranteed to always be there. I'm looking for a way to create a batch or script which will let me unzip that file ...
65
votes
9answers
176k views

Can you zip a file from the command prompt using ONLY Windows' built-in capability to zip files?

I have a batch file that outputs a text file. I thought it would be nice if I could zip it up too. This will be used in an uncontrolled environment, so I can't make assumptions about the presence of ...
0
votes
0answers
8 views

batch to extract zip file name and save into a file

i want to extract filename from zip file and save to a txt file i am using now 7zipe.exe with below command C:\Program Files\7-Zip\7z.exe" l D:\Users\mark\Desktop\Macfeetest*.zip > zipinfo.txt ...
-1
votes
0answers
18 views

How to transfer duplicated subfolders between two Macs on OS X? [closed]

I need to transfer data in the form of OS X folder tree between two Macs and I get errors and failure for software tried including "Migration Assistant" (Yosemite) AirDrop (Yosemite), zip/unzip ...
1
vote
2answers
2k views

How do I add files from a directory to a .zip-File using the 7zip command line?

I am using the 7zip command line to zip-up files. How can I add all files and subdirectorys from a folder to a zip file (.jar archive file)? I used: 7zip.exe a -t7z file.zip C:\folder Thank you.
0
votes
1answer
19 views

Uncompress bz2 file from command line on Windows

Is there any tool in the Windows command line that allows me to do this? Otherwise, is there any light and portable application that will allow me to? Related question, can I rename .bz2 extension to ...
0
votes
0answers
26 views

How to create a script to intelligently .zip numbered files?

I have a directory with a bunch of files with numbered file names (e.g., 002361). I'd like to write a script to regularly .zip them (or .rar, or .7z) based on their file names AND only update the ...
1
vote
3answers
1k views

How to optimize ZIP files for size? [closed]

I have a ZIP file (created by Info-ZIP on Linux) and I want to make it as small as possible. I have lots of CPU time to burn on the recompression. I already know advzip, and it managed to reduce the ...
0
votes
2answers
55 views

OSX's command line zip creates root directory

I'm trying to compress files, directly into a zip. What happens is that the zip automatically creates an initial directory in the zip with the name of the zip. Example: zip -r0 myfile mydir/ Will ...
4
votes
2answers
903 views

Restoring ancient zip file spanning floppy disks: pkzipfix equivalents?

I'm about to attempt something odd, and before I wasted time going down the wrong paths, I thought I'd see if anyone here has done this before. I have a zip file created in DOS (in 1997?) with pkzip ...
11
votes
2answers
9k views

Avoid unwanted path in Zip file

I'm making a shell script to package some files. I'm zipping a directory like this: zip -r /Users/me/development/something/out.zip /Users/me/development/something/folder/ The problem is that the ...
-1
votes
1answer
178 views

John the Ripper: Crack ZipCrypto password

I made a password protected zip file with 7zip, using ZipCrypto algorithm. Set the password to 1234. I am using john-1.7.9-jumbo-7. I followed this manual: ...
2
votes
3answers
741 views

Unzip only updated files

Is there a way to unzip a zip file into a directory, but only do so for updates files (I mean the compressed files inside the zip)? I have a huge directory of files there, and only about 20% are ...
7
votes
8answers
16k views

Extract large zip file (50 GB) on Mac OS X

I was trying to move the files to another hard drive. So I archived all my photos in one large ZIP file using the Mac OS X built-in compress function. But the file failed to extract. I've tried ...
-1
votes
1answer
19 views

Creation date of zip file

Is there any way how can I get creation date of zip file which is stored on server? Or even better when the file was uploaded on server? I do not have access to the server disk, I can only download ...
0
votes
1answer
46 views

How to zip files in mac without root folder

I used this command >zip -r name.zip myfolder to zip files in a folder. I want to zip all the files in myfolder without including myfolder in zip file. How do I do that?
1
vote
1answer
28 views

How to delete unwanted directory paths in zipped file?

Using bash on OS X 10.10 I'm zipping a folder and saving it elsewhere using this: _now=$(date +"%Y-%m-%d-%H-%M-%S") pushd /Users/me/Documents/local-backups/writing zip -r ...
6
votes
2answers
12k views

Linux: zip greater than 4Gb

I'm getting an error when I try and zip a large file on Linux because it is too large for zip to deal with. Anyone know what commands I can use to get around this? This is the error I'm getting: zip ...
35
votes
5answers
41k views

Read the contents of a zipped file without extraction?

How can I see the contents of a particular file in an archive without extracting the .zip it is contained within? I'm using the Linux command line.
8
votes
4answers
15k views

add password to existing zip file with 7zip

Is it possible to add a password to an existing zipfile with 7zip without going to all the trouble of unpacking it and re-packing it again?
4
votes
4answers
4k views

Recursively unzip files where they reside, then delete the archives

I goofed up a setting on the backup software I use. Normally I would have the files from a network share get loaded into a spare drive, compressed into zip folders, then sent off to the offsite hub. ...
0
votes
1answer
17 views

Report All Files Hierarchically on a Zip-of-Zip Files from the Command-Line Interface

I have a WinZip parent file that contains hundreds of WinZip child files on a Windows 7 64-bit computer. Each child WinZip file has many "grandchild" files within it. I need to create a text file ...
1
vote
2answers
379 views

Force all files in a NTFS compressed folder to automatically compress [Windows]

Is it possible to keep all the files within a NTFS-compressed folder compressed? For example, if I have a compressed a folder using NTFS compression, it will compress all the files inside the folder ...
1
vote
2answers
53 views

zip command on linux how to force to zip only files and not whole directories structure?

I want just stupid, simple thing. ZIP all the content of given directory. What I get as result of: zip -r /home/andi/MEDIA_DUMPS/xyz_media.zip /home/andi/xyz/mega_backend/mega_www/media Is ...
0
votes
1answer
30 views

Running ZIP Process in Background in CentOS

How can I run the following command/process in background immediately after starting it: zip -r file.zip directory/* What I actually want to do, is to run the zip process working even after ...
7
votes
5answers
3k views

How can I test all zip files in a folder to verify if they are corrupted or not?

There was a utility a long time ago called CFAtest that was doing this quite nicely, but it has disappeared. Basically, I am looking for a similar tool (preferably graphical) that will traverse a ...
6
votes
6answers
18k views

Reduce .wav file size

I am required by a distance education language course to record some audio and submit it. However, they are being absolutely unreasonable. I am only allowed to attach a file that is 5mb while my ...
2
votes
2answers
2k views

Mac zip archives on windows

What is the best way to open zip archives which are made on a Mac? Frequently when I open a zip archive the date file are 0 bytes, while the mac_osx folder is filled with the correct data files. Its ...
9
votes
8answers
27k views

How do I reassemble a zip file that has been emailed in multiple parts?

I received 3 emails each containing part of a zip file. The extensions end in .z00, .z01 and .z02. (Emailed as such to get around the typical 10Mb attachment limit per email.) I have put all 3 files ...
0
votes
1answer
43 views

How to zip a list of files in Linux

I have many files I need to zip into a single directory. I don't want to zip all the files in the directory, but only ones matching a certain query. I did grep abc file-* > out.txt to make a ...
0
votes
0answers
25 views

Linux - recursively zip files into cbz files based on folder and move to a new directory preserving structure

I'm trying to figure out how to write a script to automate creating .cbz files from images in folders on LINUX. I have found this solution for OSX in Recursively zip files into .cbz-files based on ...
2
votes
4answers
151 views

What other archive formats save Date Created and Date Accessed?

7-Zip on Windows will save the Date Created and Date Accessed when compressing a .zip file, however it does not do this for its (referring to 7-Zip) native .7z format. Any Unix-based formats are ...
0
votes
1answer
36 views

archiving files without timestamp

I need to archive some files deterministically, so that I get the same archive file if the content of the files is the same. I need this for testing for equality of the archive files later. however, ...
1
vote
1answer
40 views

From the command line, how do I zip specific files and directories into one compressed folder?

I'm working in a directory that looks like this: folder >.git >css >img >js Archive.zip bla.html bla.yml During work on this project I very regularly have to zip up the ...
67
votes
8answers
60k views

Zip Linux - View files in archive

How can I view the files in a zip archive without decompressing it ?
1
vote
2answers
192 views

Decompress lrzip on Windows

I've happened upon lrzip as a compression tool, which compared to gzip, the compression was insane. lrzip compressed a 300MB text file to 7MB where as gzip only managed to get it to 100MB. I've ...
0
votes
1answer
8k views

Unzip error “End-of-central-directory signature not found”

I have a ZIP file that open in Windown/MS Word, (actually it is a .DOCX file). Opening it with LibreOffice / Mac produces: General Error. General input/output error. File says: ../Commission ...
0
votes
1answer
32 views

Delete a file inside multiple ZIP archives on the OS X command line

I'm trying to delete files with specific extensions from multiple zip archives. For example I want to delete all .html files contained in the zip archives in the current path so I have tried this: ...
0
votes
3answers
3k views

Installing setuptools for python 2.7.3 on SL6 returns an error that I don't have zlib. But I do

I have a machine running Scientific Linux 6 It comes with Python 2.6 by default I've also installed Python 2.7.3 because I need to run some modules which only work with newest versions. This is ...
1
vote
0answers
38 views

Zip settings. How to concatenate results from multiple zip files?

So I was one of those fools that didn't realize that Windows 8.1 has removed the windows 7 recovery option for restoring old backups. Now I have a backup set (A folder containing ~1500 zip files) ...
7
votes
5answers
4k views

Which archiving method is better for compressing text files on Linux?

In my application I need do compress of logs that are text files. Seems that bzip2 and gzip have the same compression ratio. Is that correct?
3
votes
3answers
2k views

zip: Argument list too long (80.000 files in overall)

I need to compress 80.000 files into multiple zip files. This is the command I use: zip -s 200M photos_test/* However I get the following error: -bash: /usr/bin/zip: Argument list too long What ...
2
votes
1answer
1k views

Create .zip's on OS X without the “extra” MacOS files (like .DS_Store, MACOSX folder, etc) [duplicate]

Possible Duplicate: Compressing folders on a mac, without the .DS_Store OS X includes undesired, "extra" files when creating .zip's of folders that look poor in Windows & Linux. How to ...
32
votes
9answers
6k views

How to uncompress a 9GB file in Windows FAT32

I have a 2GB RAR file that contains a 9GB video file. I'm using a FAT32 file system. Now I want to unzip that file but after 4GB I get an error due to the FAT32 file size limit. Now I want to know ...
1
vote
3answers
248 views

Can you get virus by clicking .zip file? [duplicate]

I tried to uncompress a zip file but I get error “The compressed (zip) folder is invalid or corrupted”. Is it possible to get virus just by trying to uncompress the zip? Can zip extension be ...
1
vote
2answers
3k views

Large zip files content is corrupted when unziped using windows explore

We have a large zip file (25GB) containing mosty pdfs and png files. (about 150000 files) When we unzip the file using windows explore some of the content is corrupted. Some png files shows content ...
1
vote
2answers
236 views

Can a zip file contain hidden files?

In Windows, a file can have an attribute marking it as hidden. In linux, a file's permissions can be set so that some users can not read/write the file (making it somewhat hidden to some users). Can ...
0
votes
0answers
55 views

Linux create zip file with custom directories in it

I'm new here. My task is to create a zip file from php code. I need to password protect it and the server runs php 5.5 and password protection is not supported there so I need to execute a command ...
9
votes
4answers
14k views

Best Secure Encryption for Zip Files via Linux

I want to use highly secure encryption for zipped files via Linux/Ubuntu using a command line terminal, what is the best command line tool to get this job done? zip -e -P PASSWORD file1 file2 file3 ...