The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
1answer
27 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
41 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
41 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
69 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
89 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
46 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
64 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
30 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
1answer
455 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
648 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 ...
0
votes
1answer
159 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
130 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
59 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
924 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 ...
0
votes
1answer
128 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
922 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
68 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
525 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
853 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
99 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
289 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
665 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
10k 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 ...
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 ...
0
votes
3answers
3k 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 = ...
5
votes
4answers
821 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
994 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
75 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 ...
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
872 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
8k views

How can I zip/compress a symlink?

Is it possible and how can I zip a symlink from a linux shell?
-1
votes
1answer
413 views

Possible to upload weblogs to Google Analytics?

It's always bothered me that Google Analytics (and similar embedded web traffic monitoring services) can only see a reflection of the traffic going to my server and can only see page visits. If I want ...
1
vote
1answer
86 views

Windows file system and its speed problem

We have a server which is overwhelmed by files used by a web app. Because the number of files in the server is too great the overall performance of the whole server has degraded (including other ...
0
votes
2answers
796 views

Linux script that will stop tomcat, archive log files and reboot the server

I'm just being lazy here, but does any one have already writen bash script for stopping tomcat service, archive it's log files (zip would be nice) and reboot the server? (Using logrotate or any other ...
0
votes
1answer
678 views

edit text file in zip folder on mac os x

I have a zip folder structure which is read as a plugin from a server system. I need to edit some text files inside these zip folders, but extracting editing packing is tedious and error-prone. ...
2
votes
5answers
2k views

Is there any value in checking MD5 of files after they have been unzipped?

A project I am working on currently requires that the user runs an MD5 hash checking tool on the entire project, after it has been unzipped. They do not currently request that the ZIP itself is ...
10
votes
3answers
15k views

How to unzip files bigger than 4GB?

I'm using RHEL 5.6 and unzip-5.52-3.el5. I'm trying to unzip a big file, but I get the error: unzip -o test.zip -d unzip/ error: Zip file too big (greater than 4294959102 bytes) Archive: test.zip ...
1
vote
1answer
555 views

Create self extracting (.exe) zip from the command line

Trying to automate a manual procedure in place currently. This is on a Windows 2008 server. Is there a method to create a self extracting (.exe) zip file from a commandline/batch file?
0
votes
2answers
140 views

Zip archiving tool for auto backup of random files

I realise that I should probably be writing command scripts or something to do this but I'm just a fancy pants software developer who is helping out do some file backup so I want a fast and dirty ...