Questions tagged [zip]

Questions about manipulating .zip files or zip archiving utilities.

  1. A .zip file format,

  2. A tool to create a compressed archive (a "zip file") from one or more files using an archiver. Its use is spreading from MS-DOS now that portable implementations of the algorithm have been written.

284 questions
0
votes
1 answer

How to zip a mobi file from the CLI?

Using tar works fine: thufir@dur:~/Desktop$ thufir@dur:~/Desktop$ ll total 9720 drwxr-xr-x 2 thufir thufir 4096 Jun 13 13:14 ./ drwxr-xr-x 48 thufir thufir 4096 Jun 13 00:46 ../ -rw-r--r-- 1 thufir thufir 9941769 Jun 12 23:43 'Learning Kali Linux_…
Thufir
  • 4,641
0
votes
2 answers

zip command keeps including the entire parent directory structure

I am trying to run this zip command on an Ubuntu WSL: zip -r /home/chansen/db-backup/backup.zip /mnt/c/data/db/* I want the zip to contain all contents of db at the top level, but the resulting zip has those files nested inside all the parent…
0
votes
1 answer

7-zip error:Extracting META-INF/AIR/hash-Unsupported Method

i get this error when extracting an .air file of botanicula: this is the only error when extracting with 7-Zip on Xubuntu 11.04 7-Zip 9.04 beta Copyright (c) 1999-2009 Igor Pavlov 2009-05-30 p7zip Version 9.04…
rubo77
  • 34,490
0
votes
1 answer

Using unzipped files directly as input

Say I have a *.zip file, and want to use the unzipped files - more precisely the filenames - directly as input to another command in the terminal. How could this be accomplished? An example: - I have a zip-file containing several pdf-files - I want…
some_user
  • 111
0
votes
1 answer

Getting errors when I try to unzip splited zip files

OS version: root@triiage_1:~/zip# cat /etc/os-release NAME="Ubuntu" VERSION="18.04.4 LTS (Bionic Beaver)" ID=ubuntu ID_LIKE=debian PRETTY_NAME="Ubuntu 18.04.4 LTS" VERSION_ID="18.04" zip version: root@triiage_1:~# zip --version Copyright (c)…
0
votes
1 answer

./configure command completed with warning, configure: WARNING: `missing' script is too old or missing

After running command of ./configure sams@sams-desktop:~/Desktop/softwedge-1.0.0$ ./configure checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes /home/sams/Desktop/softwedge-1.0.0/missing:…
0
votes
2 answers

Ubuntu extract zip package is flattened, sub-folders are missing

I zipped a folder in Windows. The folder contains files and sub-folders. I copied and extracted the zipped file to two Ubuntu machines: Ubuntu-A and Ubuntu-B. (I extracted them exactly the same way.) In Ubuntu-A the extracted output follows the same…
Ronald
  • 101
0
votes
1 answer

Let zip read source file list from a file

For example, zip -r output.zip file1 file2 file3 I need to put the file list "file1 file2 file3" into a text file "input_list.txt", then use the command like: zip -r output.zip -input input_list.txt After zip -help, the only relative information it…
jw_
  • 343
0
votes
0 answers

Unable to lock Zip file Ubuntu 18

I am trying to make a locked ZIP folder in Ubuntu 18.04. I followed this post, but it locked the files inside it and not the ZIP folder as a whole. I can open the ZIP folder without providing a password and when I attempt to open the files inside…
RishiC
  • 243
0
votes
1 answer

Package installation in Ubuntu

How shall I directly install a .zip package without actually unzipping it in Ubuntu 18.04? I am trying to install m2tex.
Anurag
  • 11
0
votes
1 answer

'date' on a command issued before midnight but ending after midnight. Today or tomorrow date?

I will be launching today a zip command naming the new file with the current date ( date+\%Y\-%m\-%d .zip). The compression will probably end after midnight. Do you think the zip will be named with today's date or tomorrow's? Command is: zip -9 -m…
0
votes
2 answers

php7.0-zip packages have unmet dependencies

i have a wordpress site that uses Duplicator plugin. In order for this plugin to work it needs php7.0-zip [root@server1:~# apt-get -y install php7.0-zip Reading package lists... Done Building dependency tree Reading state information... Done Some…
adam
  • 303
0
votes
1 answer

downloaded a file unzipped it and its a .15 file

i downloaded a file it was a .xz file so i unzipped it and the file name was Debian_for_stora3.18 it was not a folder it needs to be is there a way to convert it into a folder
0
votes
1 answer

Correct syntax of zipping all files and folder + hidden once, and exclude a single file

This is what i use at the moment but it doesnt include hidden files and folder. zip -r "/home/homeassistant/.homeassistant/backup-$(date +"%Y-%m-%d %H-%M-%S").zip" /home/homeassistant/.homeassistant/* how can i include hidden files and folder, I…
0
votes
1 answer

How can I get `zip` to use relative paths in a script?

Normally I use zip command with: zip -r my_arch.zip my_folder Now I am using zip in an bash script in this way: #!/bin/bash OUT=$1 NAME=$2 zip -r -q $OUT/$NAME $OUT/$NAME I call the script with: ./mySrcipt /home/edevise/foo myFiles Opening the…
eDeviser
  • 2,189
1 2 3
…
18
19