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
272 views

How to create a zip file with files in FAT format on Linux

I have to create a zip file (with no compression). I want the files in the zip to be in FAT format. That is, If i use zipinfo command, I should get the following: ... -rw-a-- 2.0 fat ...
0
votes
1answer
80 views

Perl Archive::Zip weird response

This has really baffled me: This code works fine ... $filename="name_of_file.pdf"; for ($x=0; $x<@pdf; $x++){ $file.=$pdf[$x]; } $file=~s/\*ref\*/$new_aff/g; # converts a variable within the ...
0
votes
1answer
106 views

Show the encryption method used on a Zip file in Linux?

I’d like to see what encryption method was used on a Zip file on Linux. How can I do this? See the following posts for reference: This question which shows the need to verify the encryption: 7-zip ...
0
votes
2answers
100 views

How to handle duplicate files during runtime

we have a program which unzips a file and store the unzippied files in a directory. While unzipping, there may be a chance that the unzipped file come with the same name as we have unzipped as part ...
0
votes
1answer
123 views

How to zip a files but not include it's parent directories

I am using the following code to zip a text file by using Cygwin. master.dbo.xp_cmdshell 'c:\apps\cygwin\bin\zip.exe -j "D:\ZipMe\TestZip\subdir1\random.zip" "D:\ZipMe\TestZip\subdir1\random.text"' ...
1
vote
1answer
635 views

What ZIP compression method do common OS's natively support?

7-zip gives me 5 options for the compression method to zip files with: Deflate Deflate64 LZMA BZip2 PPMd On my Windows 8 machine, the built-in Windows Explorer utility appears to handle LZMA with ...
0
votes
0answers
41 views

Zip Folder Files using CMD commands in Batch Files [duplicate]

I would like to ask how to zip folder files using cmd commands in batch files. I am quite confused using this command which I found also in one of the questions asked here: for /d %%X in (*Path*) ...
0
votes
1answer
222 views

All zip files downloaded as 7zip

Ever since I downloaded 7zip, and even after I uninstalled it, is that all my zip files are downloaded as 7z files. How in the world can I stop this?! I have been looking for answers for about a month ...
0
votes
1answer
39 views

Inflate multi-file zip files in linux

I just downloaded some zip files that were splited. (The dreamplug rootfs files to be precise). They are called rootfs_dreamplug_v10_Aug-28-20128.zip.001 rootfs_dreamplug_v10_Aug-28-20128.zip.002 ...
2
votes
1answer
95 views

Why does 7-Zip's compression speed lower over time?

I'm busy backing up my local server files, which amounts to just under 4GB of data in ~295000 files. I selected 7z as the format, and set the level to Store. The process started pretty quickly, but ...
0
votes
1answer
86 views

download files from google drive is very dangerous?! All files got exec permission?

I just found out. If you download several files (any file, text, image, binary) as zip from google drive. Then unpack it with Ark locally. All the files in that folder will automatically get exec ...
1
vote
1answer
234 views

Unzip Interrupted

I want to unzip a bunch of files. The unzip process may get killed part of the way through. I'd like to continue unzipping with, say unzip -n, but it seems as though if a file was only partially ...
0
votes
1answer
554 views

Batch zipping multiple files into a single archive

I have the following drag-and-drop batch script for creating zip files @echo off if [%1]==[] goto :eof :loop "C:\Program Files\7-Zip\7z.exe" a -tzip "%~1.zip" "%~1" shift if not [%1]==[] goto loop ...
1
vote
2answers
2k views

Unpacking .z01 .z02 .z03 without .zip on LINUX

I have received several archives and they all have extensions of .z01 .z02 .z03 etc. There is no .zip file and no .z00 file. If I transfer these files to my Mac and run them through un-stuffit, it ...
1
vote
2answers
645 views

Can a ZIP file auto-execute files from inside it?

I had a conversation today with a staff member of my e-mail hoster, because the hoster just blocked some mails of customers of me, because they contained ZIP files. After I asked why the mails have ...
0
votes
1answer
54 views

How to check permissions in a zip on RHEL?

I have very little exposure to RHEL, and was quite surprised to find that unzip -l and unzip -lv do not include file permissions. I see that extracting files eventually restores the permissions, but I ...
-1
votes
1answer
34 views

How to extract file to particular type using winzip

If I have a file, how do I extract the file so that it is of a particular type(.xlsx file). In WinZip, all I see is Extract To option.
1
vote
2answers
201 views

bash: find and zip all subfolders of a folder

how would one find all subfolders of a folder and zip them separately ? folder structure ./folder -subfolder_1 -subfolder_2 -subfolder_3 expected result: ./folder -...
1
vote
1answer
143 views

In Linux, what would be the best way to recursively ZIP multiple directories at once? [duplicate]

I have a directory, /dir, and it is full of other directories with no common naming scheme. So /dir/EqcWTG /dir/SomeDirectoryName /dir/3435346 and so forth. I would like to turn each one of these ...
-1
votes
1answer
306 views

I can't compress a huge folder on my windows PC because it says file does not exist [closed]

I once had Microsoft reformat my computer. They put my entire old windows folder on the reformatted drive and named it "windows.old". Its 2 GB in size. I've decided to back it up and then delete it. ...
1
vote
0answers
25 views

Double clicking on a Zip file in Finder re-downloads it from web

I'm experiencing a strange behavior, after downloading any zip file, when I double click it, expecting it would open, instead it reconnects to its website and re-downloads itself. The file is opened ...
0
votes
1answer
40 views

Dragging a folder full of files into another folder which automatically zips and moves it to an archive drive

I have a question regarding archiving on windows 7 and I will preface it with the problem in an effort to identify what solution I need. Our workflow process dumps printable files to a numbered ...
3
votes
3answers
3k views

decompress ZIP with given encoding

I got ZIP file(s), which contains files, which filenames are in some encoding. Let's say I know encoding of those filenames, but I still dont know how to properly decompress them. Here is example ...
9
votes
3answers
6k views

How to prevent 7-Zip encrypted zip file passwords from being stored on the hard-drive?

I've encrypted a folder with 7-Zip 9.20, specifying 256-bit AES and a password, and the .zip file was created. But then, when I clicked on the zipped file, to my surprise, PeaZip 5.1.1, which was the ...
0
votes
2answers
31 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 ...
0
votes
1answer
6k 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: http://www.cybercrimetech.com/2014/07/how-...
-1
votes
1answer
60 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 ...
2
votes
1answer
3k 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
190 views

Linux unzip: don't prompt user

I need to unzip a file in my nodejs script: var exec = require('child_process').exec; var execOptions = { timeout: 15000 }; exec('bash unzip.sh', execOptions, function (error) { ... }); In ...
1
vote
1answer
65 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 /Users/me/Documents/local-...
0
votes
1answer
27 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 non-...
2
votes
2answers
1k 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
228 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 exiting ...
1
vote
1answer
127 views

Cannot open large concatenated zip file with unzip, though it opened fine with Archive Utility, get a central directory error

I have downloaded a 7Gb zip file full of pdfs and movies in four (4) parts from an ftp server. I concatenate these four files into a single zip file on my machine and it unzip just fine with my Mac's ...
4
votes
1answer
5k 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
1answer
491 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
205 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 ...
1
vote
1answer
385 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: ...
1
vote
0answers
103 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) ...
1
vote
3answers
13k 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 ...
0
votes
0answers
182 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 ...
2
votes
0answers
32 views

Splitting a zip archive

I have a zip archive containing a big directory tree with many files. I'm using an application that does something with zip archives. The problem is that the application has a limitation on how many ...
0
votes
1answer
54 views

Can i save modification in compressed file folder? [duplicate]

When modifying documents that are directly opened from compressed file folders like RAR or Zip, I normally close them without dragging the files out of the rar or zip file. I used to do this in the ...
0
votes
0answers
156 views

Modify ZIP Folder Context Menu To Include “Unblock” Option, Or Other Solutions

Is there a way to modify the Explorer zip folder context menu so that when you right click on an empty space while browsing a .zip file in Explorer it will show an "Unblock" option? I already added ...
1
vote
1answer
627 views

zip file (with spaces in the files name) to unzip and rename files and zip back

I'm trying to rename the contents of a zip file to match the name of the zip file with a batch file. This is exactly what I'm trying to do : http://stackoverflow.com/questions/22853824/zip-file-to-...
0
votes
0answers
61 views

(oldie not working on Win 8.0 x64?) Command prompt (.vbs) only solution to zip files and folders (batch .bat .cmd)

I worked with Can you zip a file from the command prompt using ONLY Windows' built-in capability to zip files? zip.vbs: Set objArgs = WScript.Arguments ZipFile = objArgs(0) ' Create empty ZIP ...
1
vote
2answers
340 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 ...
1
vote
2answers
154 views

7-zip extras for Linux

I want to pack a folder containing various resources and executables into a single self-extracting file and execute a command after that, "setup.exe" for example. I've successfully accomplished that ...
0
votes
0answers
144 views

Why is the output of this zip file automatically encrypted?

I just downloaded a zip file and extracted it using Windows 7's built-in zip extraction (right-click on zip file --> "Extract All..."). Somehow it resulted in folders that are automatically encrypted -...
0
votes
1answer
515 views

How to rename 7-Zip split files as name_00N.zip instead of name.zip.00N

On Windows, when I create .zip split files with volumes less than 20MB with a command like: 7z a name.zip files\* -v20M I get one or more files named name.zip.001, name.zip.002, etc. I need to ...