Questions tagged [zip]

15 questions
2
votes
2 answers

Should I chose higher CPU/low bandwidth or slightly slower CPU/higher bandwidth?

I have some servers that do a lot of file zipping operations. This also means that all the files have to be remotely downloaded first before being zipped and remotely uploaded, or remotely streamed to clients. I have the option of either upgrading…
Edwinner
  • 121
  • 1
  • 3
1
vote
1 answer

How to download file from url and store it in aws s3 bucket?

As stated, I'm trying to download this dataset of zip folders containing images: https://data.broadinstitute.org/bbbc/BBBC006/ and store them in an s3 bucket so I can later unzip them in the bucket, reorganize them, and pull them in smaller chunks…
Yufa
  • 11
  • 2
1
vote
1 answer

Why is bzip2 -d running in parallel not fully utilizing cpu resource?

I have 1000 .bz2 files and a 48 core machine. So I decided to run bzip2 -d in parallel to speed up unzipping them. But what I found is that the utilization of cpu under top is very suboptimal. For instance, most of them have status D. Why is that?…
John Jiang
  • 113
  • 3
1
vote
0 answers

Change language properties 7z sfx self extracting .exe with 7zSFX Builder

I use the 7zSFX Builder program to build my executable .exe from a .7z and even though I always select English in the settings (and everything else), the properties of the executable show Russian. 7zSFX Builder was abandoned and is no longer…
acgbox
  • 243
  • 1
  • 5
  • 17
1
vote
1 answer

Is it possible to unpack a zip file over ssh?

I have files in a .zip archive I want to upload to a remote server over ssh. I want to avoid uploading and then unzipping because the remote server has limited space. I could unzip the archive locally and then upload the unzipped files. That seems…
StevieD
  • 474
  • 5
  • 17
1
vote
0 answers

How to create .zip archive containing preserved symlinks (shortcuts) in Windows (CLI)

How can I create a .zip compressed archive in Windows from the command-line that preserves symlinks? I'm trying to create .zip file in PowerShell that includes a relative symlink from one file to another file in that archive, but I either encounter…
Michael Altfield
  • 525
  • 6
  • 18
0
votes
0 answers

zip files before copying from Windows Server

20,000 small files takes forever to copy. Is there an easy way to zip files on a Windows Server before copying to a client desktop? It must be simple enough for a novice user to do it from the client computer.
Brandon
  • 1
  • 1
0
votes
0 answers

zipping in crontab does not work

Im trying to zip my savegames (an push them to dropbox). However, even though zipping works fine it does not seem to work when I past the command into contab. * * * * * cd /home/steam/.config/Epic/FactoryGame/Saved/SaveGames && zip -r Backup_$(date…
Phil
  • 1
0
votes
2 answers

Zip all files returned from "grep-ril" command

I'm using grep -ril to be able to see all files that contain a certain string: [user@machine]$ grep -ril "test string" file1.log file2.log file3.log file4.log ... I then would like to zip all of the files that have been returned by that command. Is…
Ress
  • 25
  • 1
  • 5
0
votes
1 answer

Delete all .bak files from folder with CMD

I want automate the delete files with .bak extension in my backup folder I have a little CMD who ZIP all my BD .back and after this i want delete this bak but not ZIP file I use this but dont work, the bak files are in F:\bckup del /s /q /f…
0
votes
1 answer

Extract large (100Gb) zip on ESXI host

I have uploaded a vmdk file to my esxi 6.7 host and when i try to unzip it from cli with unzip largefile.zip i get this error Archive: largefile.zip unzip: short read Any ideas on what's going on?
renegate
  • 1
  • 1
  • 1
0
votes
0 answers

PHP Zip module doesn't load

I use PHP 7.4 and Nginx 1.16.1 and i want to enable php-zip in my server because a wordpress plugin required it: I installed zip module (php-pecl-zip-1.19.1-1.el7.remi.7.4.x86_64). If i type php --modules zip extensions exists: [PHP…
50l3r
  • 103
  • 2
0
votes
3 answers

Apache: compressing as zip (not gzip)

I've configured apache 2.4 to compress content before it is delivered to the client, using mod_deflate and the clients header set to "Accept-Encoding: gzip". So this I got already working, producing a valid gzipped file: curl --header…
dr0i
  • 231
  • 1
  • 11
-1
votes
2 answers

Backup of multiple sites on Ubuntu

I have multiple sites in my /var/www/html/ folder like following:- /var/www/html/site-1 /var/www/html/site-2 /var/www/html/site-3 /var/www/html/site-4 i want to zip each site on my server and to sync on s3 bucket.
Sukhjinder Singh
  • 1,944
  • 2
  • 8
  • 17
-2
votes
1 answer

finding a string among several zipped files (webapps)

We have to find a string, let's say "foobar" among several webapps. However, some webapps contain zipped files, eg log4j.jar. Therefore, grep -IR "foobar" /pathto/tomcatroot/ won't work, because of compressed files. unzip -c…
bgtvfr
  • 1,224
  • 10
  • 19