Questions tagged [zip]
Questions about manipulating .zip files or zip archiving utilities.
266
questions
0
votes
0
answers
54
views
Fixing the wrong encoding of filenames
I have a Linode server running Ubuntu 22.04. When I log in through SSH and download files with "Sinhala" language in their names, they show up correctly in the terminal, and I can compress ...
0
votes
0
answers
73
views
Get corrupted *.zip archives list
Sorry for my bad English. I have a folder with *.zip archives. And this folder contains corrupted archives. How can I get corrupted archives list?
I need to check folder and remove corrupted *.zip ...
2
votes
1
answer
893
views
What is incorrect in ZIP command line?
I am developing AWS Lambda (NET6). During the Github action execution (build, zip, upload) in a CloudFormation yml file, I have received the error:
Run zip -jr customerlambda-...
0
votes
0
answers
42
views
Crack the password of a zip file given original files
I have a legacy zip file encrypted with a password. I don't have its password - it has been lost. However, I have a few of the original unencrypted files - both txt and images. Is there a way to crack ...
0
votes
2
answers
146
views
Install zip file
I'm a student of homeopathy. I need to install a homeopathy software OpenRep SYNOPSIS. The file is in zip file. Could anyone guide me on how to install the software? Thanks.
Here is the link https://...
0
votes
0
answers
33
views
Different compression for different extensions while creating a zip archive
How to add a directory to a zip file with *.jpg files stored without compression and other files stored with maximum compression?
0
votes
1
answer
199
views
"zip I/O error: Bad address" error during zipping process
I have a Samsung Galaxy S8 with The Olive Tree's WebDAV app called WebDAV Server Pro (https://play.google.com/store/apps/details?id=com.theolivetree.webdavserverpro) which I used to mount my Android's ...
3
votes
0
answers
395
views
Drag-and-drop problem in Ubuntu 23.04
I am frequently downloading zip or rar archive files from the Web to extract their contents into a folder. There are two applications on my system that handle these type of archive files: Archive ...
1
vote
1
answer
243
views
Add prefix folder name to each file inside of the zip
I want to zip all files recursively but adding some prefix folder in front.
I tried:
zip -rq test.zip node_modules --prefix nodejs/
But getting error: zip error: Invalid command arguments (long ...
2
votes
0
answers
94
views
Saving to a different folder in ZIP
zip compress.zip /from/this/path/settings.json
I have the command above, but would like to store in /path/settings.json instead of /from/this/path/settings.json in the zip file.
How do I go about it?
1
vote
0
answers
65
views
"Encrypt the file list" option greyed out when creating ZIP file
I am fairly new to Ubuntu and frankly not very tech savvy. I am using Archive Manager 43.0 on Ubuntu 22.10. I want to encrypt some sensitive files, and I would really like it if the name of the files ...
0
votes
1
answer
536
views
How to make tar.xz extraction fast?
This is System's current extraction speed 193.2kB/sec. How can I make it fast?
I have an SSD, i7 8th Gen, RTX 2060, and on an Ubuntu 22.04 LTS Desktop
Actions Taken: Downloads Tab -> Right Click on ...
1
vote
2
answers
1k
views
Password protect a folder
I have several files in a folder. I want to encrypt that folder. What's the way I could do it? I tried the following:
Used the command zip with encrypt option. This does encrypt the files. But the ...
1
vote
1
answer
57
views
Can I check the contents of encrypted archive without using password?
I need to create and encrypt archive with some files. Later archive contents must be checked by someone who doesn't know encryption password.
I've done my research but couldn't find proper tool for ...
0
votes
1
answer
103
views
How do I prevent zip from removing the leading slash when I am creating a zip file
I am using zip on ubuntu 20.04 to create backup files which I then send to a backups device.
I use the following zip command : zip -r /tmp/stuff.zip /home/someone/stuff
to create a backup of the &...
1
vote
1
answer
5k
views
php-zip with php 8.1.8
I'm trying to install php-zip and i have already installed php 8.1.8 on ubuntu 22.04.1.
When i try to install it, it fails and the error message says:
The following packages have unmet dependencies:
...
0
votes
1
answer
39
views
Zip a directory excluding files/folder that do not belong to the current user
I would like to zip a directory but only include files and folders that belong to the current user.
1
vote
1
answer
180
views
Zipping content from another users dir with out the root dir being included
I have the following dir structure.
/home/bradley/data/ {whole bunch of files and dirs}
I want to zip up the content but not include /home/bradley in the archive. So I have tried this.
cd /home/...
1
vote
1
answer
418
views
How do I .zip multiple files and retain their file names. EX file1.file file2.file -> file1.zip file2.zip
As the title suggests I need to .zip multiple files (thousands) in a folder and have each file zipped into their own archive with the original file name as the .zip filename.
If I try to do this with ...
0
votes
0
answers
962
views
"Make" error - DIGImend Kernel install for drawing tablet
Okay, after helpful comments (below), I got further down the road after installing flex and then got same error w/ Bison, so I installed that.
Now I'm getting this:
make[2]: *** No rule to make target ...
1
vote
3
answers
4k
views
Ranger: "zip error: Nothing to do!" - But it works in bash!
The following works:
$ zip -rj /the/absolute/path/tmp{.zip,}
It produced a file called tmp.zip, saving me the trouble to repeat the folder name as the name of the zip archive.
In my rifle.conf (...
4
votes
2
answers
175
views
check unzip each archive to separate subdir as default
I am using kUbuntu v20.4 and want to set
Unpack separate subdir checked by default
Motivation:
It often happens that I unzip a zip in my Downloads folder and then I have a bunch of files unzipped in ...
2
votes
1
answer
2k
views
How to ZIP a lot of folders but exclude any subfolder (recursively) called "node_modules" [duplicate]
I have a lot of directories in the initial folder and I want to zip everything , but exclude
all the node_modules folder of each directory , I tried this:
zip -r all_repos.zip . -x '*node_modules*'
...
1
vote
1
answer
17k
views
unzip: cannot find zip file directory
I used right click then compress to zip the folder called m1 and got m1.zip folder but when I tried to extract it again I got.
Archive: m1.zip
End-of-central-directory signature not found. Either ...
1
vote
0
answers
117
views
which archive format is appendable, indexed, seekable and multi-volume
I am looking for a multi-volume, indexed, seekable and appendable archive format.
multi-volume = split the TB-size archive into GB-chunks
indexed = add complete index at the archive end with offset ...
1
vote
1
answer
5k
views
Fail to extract rar archive
I have a .rar archive. I can open it using Archive Manager. Files are ready to view individually. But it cant extract all of the files inside the archive. The archive consists of a hierarchy of ...
1
vote
1
answer
359
views
How to use Inkstitch with Inkscape?
I am; a new newbie. How do I actually open "inkstitch"?
I have attempted install/reinstall of both Inkscape and Inkstitch, for 2 weeks. (Ubuntu 21.10)
I am able to find user extensions & ...
1
vote
0
answers
22
views
UI becomes unresponsive while trying to unzip
I have been facing this issue for quite some time; Sometimes - I don't know if this is random or not, and it is not related to the archive size - when I try to unzip the file, the UI becomes ...
5
votes
1
answer
3k
views
How do I zip a folder without including all folders in the path?
I am attempting to zip a website's home directory but the archive contains the entire path of folders before getting to the one to be zipped. The command zip -r compressed_data.zip /home/vivek/...
10
votes
3
answers
5k
views
Can't unzip 6 GB file: bad zipfile offset
I need to unzip a file of about 6 GB. However, I can't do it neither right-clicking (it gives an error saying "empty archive") or in the terminal, showing the following for the latter:
$ ls
...
0
votes
0
answers
256
views
Compressing files with zip freezes desktop
When I try to compress files using the zip zip -r foo.zip foo on the desktop. It hides some files and folders, I cannot move the icons (but they can be opened). Relogging solves the problem. Has ...
0
votes
0
answers
473
views
Create multiple ZIP files from a single folder without zipping the whole folder
I have a problematic web server install where someone has dumped all photo files into a single directory - there are over 250k files - 23 gigs in total on a server with limited space.
I'm looking for ...
0
votes
2
answers
435
views
Can't play game from zip file
Just downloaded the zip file from https://danidev.itch.io/off-the-balls and after extracting it I still can't find any way to play the game. After extracting, I don't see any .exe files either which ...
0
votes
0
answers
248
views
Getting thumbnails of cbz comics with images formatted in webp
So, I have a bunch of digital comics that are in cbz format (just a renamed .zip, for those who are less familiar) in which all the images inside the comics are in .webp format.
I am running Budgie 21....
0
votes
1
answer
185
views
what is .fuse_hidden0000905600000002 [duplicate]
I deleted a zip file I prepared wrongly to upload to S3 bucket for a lambda function but when I delete it this file appears and even if I delete it, it keeps reappearing in my Pycharm.
What is it, ...
0
votes
2
answers
914
views
CLI: How to browse contents in a jar file? [duplicate]
Inside a Ubuntu OS, how can I browse contents in a jar file by terminal?
1
vote
1
answer
476
views
Why is my empty folder has a 134 GB size?
I moved files from my old server to a new one. I don't know why but when I want to zip my folder it always hangs on a folder.
At first, I thought it had failed, so I canceled by pressing ctrl+c, but I ...
0
votes
2
answers
1k
views
How to handle permissions of unzipped files?
I have been trying to install a software called ABAQUS on my UBUNTU laptop and as a part of the installation, I'm trying to run a script file called 'StartGUI.sh' using the command "bash ./...
1
vote
0
answers
132
views
Problem with excluding in zip from root
I have a problem with excluding directories from root (/). Other directories are ok. I do not know why.
zip -vry1 root.zip / -x "dev/*" -x "proc/*"
Still includes directories /dev ...
1
vote
0
answers
397
views
How to set LibreOffice as the default app to open Pages documents
Since LibreOffice can open and edit Pages documents, I would like to set LibreOffice as the default app to open Pages, Numbers, and Keynote documents. For the sake of this question, I will refer to ...
2
votes
1
answer
2k
views
how do i install an app from the zip file i have?
How would I install a .zip file from terminal? I'm trying to install an app from a .zip file and when I try change directory (filename) nothing comes up. I know i'm doing something wrong but this is ...
0
votes
2
answers
1k
views
Extracting ZIP files gets stuck on "verifying destination"
Recently, my Ubuntu 20.04 LTS has been unable to extract any sort of ZIP files, it will always get stuck on "Verifying Destination" on the GUI, see here:
GUI of the error
I tried running ...
0
votes
0
answers
132
views
One tool that WORKS for all archives and compressed files
I have been using 7z, unrar , Peazip and Archive Manager and what not and I am having a hard time matching the compressed file/archive file with the appropriate tool for extracting.
The default ubuntu ...
1
vote
2
answers
8k
views
How to extract a corrupted zip file?
I compressed some zip files into another zip file. Later, when I tried to extract it, I got the following message:
End-of-central-directory signature not found. Either this file is not
a zipfile, ...
1
vote
2
answers
11k
views
How to extract one file from a specific directory of a zip file
I got a zip file like this:
zipfile.zip
|______ -JWQYBCVAQA=
|_______ text.txt
othergarbage.jpg
othergarbage....
0
votes
1
answer
99
views
How to compress a directory that it names starts with -
I need to compress this directory:
-YDHEmmD9DDD= but this is the output:
zip error: Invalid command arguments (short option 'Y' not supported)
2
votes
1
answer
363
views
What is the idea of github, and these .zip files developers sharing there?
I started to experience Ubuntu (again) now years later.
Now Ubuntu is only OS on my laptop and I want to keep it.
I am installing major software for daily things from Software Center already.
For some ...
1
vote
1
answer
891
views
Finding a offset of file in a zip without unziping using shell?
Is there any way to use the shell command to find the offset of a file inside a zip without actually extracting the zip?
Have tried zipinfo XXX.zip which provides sizes which had to add up sizes to ...
0
votes
1
answer
61
views
How to zip specific named folders?
I have the directory structure shown below. I would like to create a zip file containing only point_clouds. I tried using the wildcard but it doesn't work.
blender:~/data$ zip -r test.zip *...
0
votes
0
answers
105
views
Decompress .zone.gz file
I have a file names xyz.zone.gz opening it up via gunzip gave me an error
gzip: /home/User/Downloads/xyz.zone.gz: not in gzip format
Earlier, I thought that the its a .gz file but since it gave me an ...