The tag has no wiki summary.

learn more… | top users | synonyms (1)

0
votes
2answers
18 views

create zip based on contents of a file list

I created a file with diff files diff-files.txt it has 6000+ file paths in it. Now I want want to create a zip based on those files. I know I can zip multiple files with: zip diffedfiles.zip file1 ...
0
votes
2answers
27 views

Unzip piping order

I have a file, foo.zip which looks something like this: foo.zip -- fileA.txt -- fileB.txt I can pipe the output of the extracted files like this: unzip -p foo.zip *.txt | something My problem is ...
0
votes
1answer
75 views

How to debug nginx + php-fpm download failures?

Downloads fail after all data downloaded on nginx + php-fpm. I'm controlling downloads of zip files (roughly 100mb each) with a PHP script that streams the file directly to the client. I'm using ...
3
votes
2answers
44 views

How do I persuade IIS to deliver content from within a Zip file?

Is it possible to "persuade" IIS to deliver content from a Zip file "Container" ? For example I have lots of PDF documents packed in Zip archives and I need to display the PDFs in a browser. So for ...
0
votes
1answer
46 views

zip in cron doesn't work, but zip from command is working [duplicate]

I need to back up a directory with zip -r /savehere/backup_`date +%y%m%d%H%M%S` /save/this -q It works fine. But not from crontab: * * * * zip -r /savehere/backup_`date +%y%m%d%H%M%S` /save/this ...
0
votes
2answers
128 views

IIS 8.5, serving corrupt zip files

I have a WS2012r2 web server with multiple sites. We host zip files that are accessed though a direct URL (http://mysite.me/Test.zip"). These files are used to update our software and are downloaded ...
0
votes
3answers
95 views

How to zip lots of folders into three+ independent zip files? [closed]

I have a massive amount of folders, and I want to zip/gzip/(what ever) them into 3 or more independent files. So for example, let's say I have this directories on my server: /dir1 /dir2 /dir3 /dir4 ...
2
votes
4answers
50 views

Equivalent of grep -l for filenames in zipfile

Given a set of zip files, is there an easy way to list only those zipfiles that contain files whose names match a given pattern, cf. using grep -l to list only files whose contents contain lines ...
-2
votes
2answers
69 views

Is ZIP archive capable of storing permissions?

I am using Maven Assembly plugin to bundle my application along with configuration/settings files. It allows to specify persmissions to be stored along with files, which is quite convenient. Still I ...
0
votes
0answers
32 views

7z command line switch for not listing files

i am using 7z to zip some directorys with files in them. What i am trying to make is to disable via switch or something to show files wich are in progres of zip in command line.
2
votes
6answers
420 views

Are there other options to unzip a file in Ubuntu besides “unzip”? [closed]

My sysadmin is unreachable right now, and I have a zipped file on the server that I would like to unzip...however, we don't currently have zip and unzip installed, and I don't have root access to ...
2
votes
1answer
543 views

PowerShell Command 'write-zip' doesn't work

I am using a Powershell script to compress some files into a .zip file. My entire script looks like this: Write-Host "Creating Zip File... " -NoNewLine write-zip ("file1.txt", "file2.txt", ...
0
votes
1answer
791 views

Powershell Script to Zip Files

I'm new to Powershell. I have a need that I assumed that it would be perfect for. However, I've quickly come to the point where I feel I'm in over my head. Basically, I need to create a .zip file. I ...
1
vote
1answer
222 views

zip file extracts faster than copying

System Win 7 32 bit. I am using WinRAR to extract a .rar file, but I think it is the same for any zipped files. I have: 1) SomeSourceCodeFolder.rar -> extract -> SomeDestCodeFolder 2) ...
0
votes
1answer
139 views

Deleting Files in a Zip Archive on Linux

I have a situation where I need to be able to run a script and delete specific files within a zip archive. Below is the general setup /mnt/directory /mnt/directory/Folder1 ...
3
votes
1answer
62 views

Linux zip tool that supports mutithreading [closed]

The only one I know is 7za but it shows speed similar to zip. I made a quick test for zip, 7za (with -mmt8) and jar. Results are almost same, and 7za is lowest one (what is strange 'cos it should run ...
1
vote
1answer
998 views

SugarCRM CE: upgrade from 6.5.9 to 6.5.11 Fails with “ZIP Error(0): Status(0): Arhive(upload://SugarCE-6.5.11.zip)”

I have a fresh running installation of SugarCRM Version 6.5.9 (Build 8653) hosted at Bluehost.com (shared hosting) When I use the upgrade wizard, the system checks are all successful. Then I get the ...
1
vote
0answers
228 views

How to unzip “Zip archive data, at least v3.0 to extract” on Ubuntu

I downloaded some virtual machine image (IE9_Win7) from modern.ie, but I can't extract it on Ubuntu 12.04. It errors out with: Archive: IE9_Win7.zip warning [IE9_Win7.zip]: 707116788 extra bytes at ...
0
votes
1answer
142 views

how to tar or zip two sibling folders and avoid an extra top level folder when extracting

I have a need to create a tar of two sibling folders and send it to a client for extraction on their Mac OS desktop by double-clicking it. yes, that's a requirement of theirs. so I go: cd ~/Desktop ...
1
vote
1answer
1k views

Verify if the files can be unzipped successfully from 7Zip archive

We want to 7zip many database files (mysql, Oracle, and SQL Server dumps), various standard files (excel, word, etc), but we are afraid that once we 7Zip them and delete the originals it can happen ...
4
votes
2answers
5k views

Zipping only files using powershell

I'm trying to zip all the files in a single directory to a different folder as part of a simple backup routine. The code runs ok but doesn't produce a zip file: $srcdir = "H:\Backup" $filename = ...
0
votes
1answer
1k views

zip 3.0 not backwardly compatible with zip 2.3.1? [closed]

I have two files, one I produced with zip 2.3.1 and the other I produced with zip 3.0. Both are a zip of the same directory. Here are the two files and their sizes: 1.7G from-2.3.1.zip 1.7G ...
0
votes
1answer
74 views

strange linux zip command behaviour

I run this on my CentOs box: zip -r backup.zip /home/user/domains/example.com/public_html/ The command works ok as it should, but I have an annoying problem. What I expect is when I open the zip ...
0
votes
1answer
585 views

nginx won't serve zip files for download

I am having trouble serving zip files from my nginx server. I am testing this out by putting a zip file in the html root director (for simplicity) and then trying to download it. When I go to the ...
4
votes
1answer
1k views

Why can't I copy .zip files from a server to a server in a different domain?

At work, we're using a Windows Server 2008 R2 VM as our build server. At the end of the build process for any of our projects, we copy the packaged deployment files to a folder on the server where ...
1
vote
3answers
970 views

Sync files and folders in windows with commands

I am a Linux user. I am looking for a command line tool for Widows(2008 R2) for files & folders synchronization. I am looking for a tool like rsync in Linux. I have to synchronize between two ...
2
votes
1answer
1k views

Zipping folder with absolute path without keeping tree of folders

I am attempting to use the zip -r command to zip a folder which includes two files. I need to pass the absolute path of the folder with two files (/path/to/my/files/), which is causing all of the ...
3
votes
1answer
103 views

How can I enlist the content of a zip archive, but only the first level?

I have a big zip file and I want to know what it's contain. I know I can run: zipinfo file.zip but the output is too verbose and there are a lot of files in the sub-directories. I want to see a ...
2
votes
1answer
1k views

Can the encryption option with zip on Linux when used from the command line?

Can the encryption option on Info-ZIP be used from the command line? The zip man page says: -e --encrypt Encrypt the contents of the zip archive using a password which is entered on the terminal ...
1
vote
2answers
333 views

How to zip the standard output of a process?

I have a process that is producing a big amount of log to the standard output in a short period of time. Is there a way to zip the standard output of my process to a file. I am searching for ...
-1
votes
1answer
726 views

Wanted: Unix zip command-line program with zip64 support

Is there a Unix command-line program that implements ZIP with ZIP64 support? The standard zip program won't ZIP files bigger than 2**32 bytes. I don't want to use .tar.gz format, because with ZIP I ...
2
votes
1answer
164 views

How to remove a certain folder when tar zipping?

I want to remove a folder when I'm creating a tar.gz file as it's for a backup and it takes too much space and is not required I am using the following command; tar -cvzf ...
2
votes
1answer
11k views

Zip for Windows Server 2008 command line?

I know that this has been asked before, but I have not found an answer for Windows Server 2008. Most references I found are with the Windows Server 2003 Resource Kit, but not for 2008. I know that ...
3
votes
1answer
1k views

Unzip without path

I would expect the following command to extract the contents of the top directory in the zip file to the destination directory: unzip file.zip topdir/\* -d destdir However, what I get is ...
0
votes
3answers
1k views

zip does not work for big files

What is the best way to compress a file if it is more than 4 GB in size? I am using the following for last several months. mysqldump --all-databases | zip > mybackup.zip Today I am got an ...
2
votes
2answers
975 views

Batch unzip .zip files using 7z [closed]

I have downloaded a large number of .zip files and need to extract them using 7z (p7zip) at the command line. 7z x filename0001.zip is successful, but 7z x *.zip returns a "No files to process" error. ...
0
votes
3answers
4k views

How to use GZip to create a .zip file

Is it possible to use GZip to create a .zip file? I've been Googling and can't find anything that leads me to believe this is possible
2
votes
2answers
2k views

Trying to unzip a file with Powershell

I'm trying to unzip a bunch of archives including the new xlsx files into a TMP folder and then work on that folder and then remove it. And shit just doesnt want to go my way. $spath = ...
4
votes
2answers
3k views

Why does the .NET Folder.CopyHere Method not allow dialog suppression for .ZIP files when run within a SQL Server Agent PowerShell job step?

I am using PowerShell in a SQL Server Agent job step to automate the extraction of .ZIP file contents to a directory. Based upon highest-voted answer on this question: How to zip/unzip files in ...
5
votes
4answers
852 views

How to “undo” an “unzip” performed in terminal / CLI?

I know this is possible with a botched unTAR, although I can't recall the exact command.... but is it possible to "undo" a recent "unzip" command, in this case, using the mac terminal? This is using ...
0
votes
2answers
1k views

Folder permissions when zip and unzip on Windows

I've a webserver Windows 2003. When I do a backup in a zip of some folders, the permissions of the folder doesnt restore when i unzip the compress file. How can I do a zip saving the original ...
2
votes
1answer
1k views

Force download of zip file stopping a few thousand bytes short

I'm trying to start a force download of a zip file containing a large amount of images. I'm using php to force the download and it's running on nginx. The weird thing is when i use wget to download ...
0
votes
2answers
76 views

Compressing directories on server without ssh

Is there a way to compress directories on a server without ssh access? We are transferring many domains and there is no ssh available on the current server. We would like to secure copy the ...
0
votes
2answers
1k views

WinZip, 7zip, Winrar Command Line to Compress structure of folders

I have a Windows Server 2008R2 which has a massive file share of Video files, I need to run a zip command line in a batch script which will : a) Compress / zip each video file inside each folder ...
0
votes
1answer
275 views

Am I doing ubuntu 10.0.4 software installation correctly (packages and none-packages)?

Background: I first installed everything using a terminal and "sudo su", i.e. as root. Then I installed jenkins, and then the jenkins user could not run any android sdk tools in /root/androidsdk/tools ...
1
vote
2answers
75 views

Batch file problems

I have created a batch file to copy and zip up an entire drive of data on my server. I have selected the D:\ drive to be copied and zipped. However, I have one problem. When I run the batch file, only ...
0
votes
2answers
918 views

how to install ZIP (ZZIPlib) for PHP on CentOS

I have Cent OS 5 and want to install ZIP or ZIPlib extension i tried to look it up using YUM utility and its not there how can i install it?
1
vote
1answer
1k views

Create ZIP archive without storing permissions?

I am distributing packaged files in ZIP format. I use the following to create: zip -r distr.zip files/ When expanded on other UNIX system files preserve their permissions as they were when I packed ...
1
vote
0answers
20 views

gnome file roller never overrides existing files

When using gnome file roller (Archive manager), it never seems to overwrite existing files, independent from access rights. There is also no error message. Is this expected functionality?
12
votes
2answers
9k views

How can I zip/compress a symlink?

Is it possible and how can I zip a symlink from a linux shell?