9
votes
1answer
232 views

How did this ZIP file print to my command line when I extracted it?

I downloaded a font from www.fontspace.com today. It came in a basic .zip file and so I moved it into its own new folder to extract it (I'm tired of extracting things just to find that they were ...
-2
votes
1answer
93 views

Read the contents of a zipped file without extraction just 1 level?

unzip options -t and -l lists entire zip, even sub directories. Is there an option of unzip to read contents just 1 level ? It should list immediate contents of zip. It should not list contents of ...
2
votes
2answers
1k views

how to specify the unzip target directory

Is there an option on linux zip command such that I can hard code the target directory it unzips into. For example, I would like to zip ./mydir files into myzipfile.zip but I want the unzip command to ...
1
vote
0answers
87 views

force unzip to also delete any missing files

Currently when I unzip into a directory with pre-existing files, I sometimes unzip an archive to update the files, using -f or -u or -o to overwrite any clashes. However I would like the unzip ...
1
vote
2answers
2k views

Unzipping file whilst getting correct permissions?

I unzipped a file on my server using: unzip filename However this seems to have caused all the files having owner/group permissions of 0 0. I files I uploaded was a PHP software script, so ...
1
vote
1answer
979 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 ...
9
votes
1answer
4k views

Remove single file from zip archive on Linux

I have a zip archive (created automatically in a script with -j -r flags) and I would like to remove a single file from it. I tried as documented. zip -d "picture_43_9.jpg" gallery.zip but I get ...
5
votes
3answers
350 views

Can a Zip File Become Damaged from Repeated Unzipping?

I use a mac and have a zip file that contains a base set of files that I use over and over. Every time I need the set of files for a new project, I simply unzip the zip file and they are ready for ...
0
votes
2answers
412 views

How to zip and unzip files on mac OS without losing creation date and time?

On a Mac, When I zip and unzip files using finder or using zip/ditto from command line, I lose the creation date of the files/folders and the creation date is automatically set same as the ...
3
votes
2answers
1k views

Equivalent to tar's “--strip-components=1” in unzip?

I have a script that extracts a tar.gz-file to a speificed subdirectory mysubfolder: mkdir mysubfolder; tar --extract --file=sourcefile.tar.gz --strip-components=1 --directory=mysubfolder; Is there ...
0
votes
2answers
486 views

How do I batch decompress so that each file unzips to separate folder?

Does anyone know how to unzip a highlighted list, so they unzip to folders of file name (under Windows)?
1
vote
1answer
8k views

How can I extract a password-protected file a zip archive?

I have a zip archive with several files. Zip can password protect individual files (not just the whole archive) and I have such a protection on one file. How can I extract this file if I no longer ...
4
votes
2answers
3k views

In Mac OS X, how can I edit a jar file without unzipping?

How can I edit the content of a jar file without unzipping its content in Mac OS X? 7z client allows this on windows but I could not find a similar way to do this on Max OSX. By editing i really ...
0
votes
1answer
123 views

Winzip error / timestamp in file name related?

I receive an error when attempting to use winzip to extract a .zip file. The filename contains a colon character (used in the timestamp). Is this something that winzip does not handle? Also, the ...
3
votes
3answers
2k views

unzip how to trim top directories

I have a zip archive. The unzip -l myarchive.zip command gives this listing: top/subtop/files/1.txt top/subtop/files2/2.txt etc The root folders are top/subtop for all files. How to extract those ...
1
vote
2answers
560 views

unzip command line to sync destination folder

Is there a way to unzip a .zip to a folder and sync the contents of that folder with the contents of the .zip? I know you can do an -u(pdate) option that will update the folder with newer files, but ...
2
votes
1answer
166 views

How do I make zip files that unzip cleanly on any OS with native tools?

If I make a zip file on OSX 10.6 with the OS native tool, and unarchive it on Windows 7, it's root directory will be doubly nested in another one with the same name, and it will contain all kinds of ...
0
votes
1answer
662 views

Unzip file with underscore in linux?

I'm trying to unzip a file in redhat but I keep getting this when I run unzip filename.zip heckdir error: cannot create file_name unable to process file_name/bin/. I'm guessing ...
1
vote
1answer
2k views

How to unzip zip archives that have more than 260 symbols in their name?

I have a big zip file (approximately 650 MB) that I want to unzip. I already shortened the name of the zip file to just 1 letter and stored it directly on the C: folder. So I can´t shorten the path ...
7
votes
2answers
3k views

In Mac OS X, how can I unzip a zip file without unzipping its contents?

I have a zip file that contains another type of archive (in this case, a jee app server WAR file, but this happens with other contained archive types as well). When I unzip the zip file, instead of ...
0
votes
1answer
500 views

How to unzip a windows-built .tar.gz in linux?

i wanna transfer files from my windows pc to linux server. suppose i have a file structure like this: img / logo.gif css / style.css index.php i tar.gz the directory, then upload, and then ...
0
votes
3answers
8k views

How to troubleshoot if a zip file is valid or if it is big file size to be unzipped?

I am trying to unzip a file with the size of 2GB I am getting the following error : unzip CLTE_C_08.zip Archive: CLTE_C_08.zip End-of-central-directory signature not found. Either this ...
2
votes
3answers
1k views

Windows command line ZIP extraction with checksum or similar?

What I need to do, at the command line, is: Extract the contents of a a ZIP archive. Change an arbitrary number of the extracted files. Repeat step 1, but because it is a huge archive, only extract ...