All Questions
24
questions
0
votes
1
answer
1k
views
How to add file inside folder of a zip
How do I add a file/folder in a zip file that isn't in the root folder? For example in
test.zip\parent test folder\folder1
and I want to add test1.txt inside the \folder1 of the zip file?
I am using ...
0
votes
0
answers
267
views
Create multiple compressed folders in Linux
I need using 7zip for create multiple compressed folders in Linux. Same case as here (But this guide is only for Windows): https://www.wikihow.com/Use-7Zip-to-Create-Multiple-Compressed-Folders-in-One-...
1
vote
1
answer
2k
views
How to join splitted files from Linux on Windows
So i splitted up a huge file from my Ubuntu Machine (via the split command) into 2GB Chunks so i can download them easier.
Now i have them laying on my Network Share and i can't seem to figure out, ...
2
votes
0
answers
60
views
How do you prevent lynx from unzipping files?
Lynx has this bizarre behaviour where it (randomly!) decides that a file is a zip file, and then automatically unzips it. This is extremely frustrating: it means it's no longer acting as a web browser ...
1
vote
2
answers
2k
views
Zip file corrupted after SSH file transfer
I'm trying to zip up some files on my Windows laptop, then transfer them to my Ubuntu server, and unzip them there, but I always get an error while unzipping the archive telling me that the archive is ...
1
vote
1
answer
856
views
Can't install zip on ubuntu
I'm trying to install the zip package on my ubuntu 16.04.2 LTS server, but when I run the command apt-get install zip I get the following output
The following packages have unmet dependencies:
linux-...
8
votes
1
answer
1k
views
While trying to see the content of a zipped file, I only get information about the zipping process
In Ubuntu, installed on Windows Subsystem for Linux, I want to see the content of a zip file, using gzip --list.
I expected to see a list of included files like this:
FileName ratio
File1 ...
0
votes
1
answer
239
views
ubuntu: How to zip a directory in ubuntu by excluding some subdirectories from command line
Added from SO as off topic, however there is no answer in here
I want to zip a directory by excluding some unwanted subdirectories. I have tried :
zip -r test.zip * -x 'test1/' 'test2/'
and
zip -r ...
1
vote
1
answer
509
views
How do I update a Web software package from a ZIP file from the command line?
I have a Web software package installed on my Linux server. I've downloaded an update in a ZIP file, and I want to overwrite only what's changed. (For example, all the core files should be replaced, ...
1
vote
0
answers
967
views
Zip only contents of directory using absolute path
A lot of solutions to zipping the contents of a folder, Excluding the folder, look like this:
zip -r contents.zip *
But I need to do this WITHOUT cd'ing into the directory, I want to use an absolute ...
1
vote
1
answer
351
views
Unziping multiple ziped and rename automatically files with same name if needed
I have a bunch of Ziped files in a folder, and i would like to unzip all, ut automatically rename folders or files with the same name, example:
In ZIP_folder_1.zip and ZIP_folder_2.zip i have one ...
0
votes
1
answer
3k
views
How to unzip multiple ziped files and rename automatically if needed
I have a bunch of Ziped files in a folder, and i would like to unzip all with:
unzip ZIP/*.zip
But automatically rename folders or files with the same name, example:
In ZIP_folder_1.zip and ...
16
votes
2
answers
26k
views
Check if zip file is damaged [duplicate]
How can I check whether a zip file is damaged?
I know that with zip -F input.zip --out output.zip I can fix the file.
But I could not find an option that only checks the file CRC.
I'm using Ubuntu 12....
0
votes
1
answer
2k
views
Merging 2 zip files
I have 2 zip files:
file1.zip
file2.zip
I want to compare the two zip files and then only extract the files missing in file2.zip (directory structure intact) so that I can merge them in.
...
2
votes
2
answers
7k
views
How do I unzip a file with PPMd compression: I have the error "PPMd method not supported"
Ubuntu/Windows 7 user here,
I have a zip file that I am trying to extract. In windows I get an error. In Ubuntu, the archive manager I get a "PPMd method is not supported"
I read about 'e', a ...