The tag has no wiki summary.

learn more… | top users | synonyms

-2
votes
2answers
51 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
26 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.
0
votes
0answers
54 views

MailScanner doesn't block ZIP files

even if asked to. Here's a cut of my config: MailScanner.conf Filename Rules = %etc-dir%/filename.rules %etc-dir%/filename.rules From: 127.0.0.1 /etc/MailScanner/filename.rules.allowall.conf ...
2
votes
1answer
133 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
217 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
96 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
95 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
53 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 ...
0
votes
1answer
673 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
87 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
529 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
3k 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
557 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
66 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
346 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
923 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
612 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
759 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
79 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
196 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
558 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
163 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
9k 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
851 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
2k 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
1k 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
717 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 ...
-1
votes
2answers
739 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
813 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
74 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 ...
-1
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
73 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
706 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?
6
votes
2answers
5k 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
375 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
85 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
629 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
575 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
1k 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 ...
9
votes
3answers
12k 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
488 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
132 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 ...
0
votes
2answers
801 views

Zip up a folder, but only include folders with numerical names?

I have a very messy folder which contains thousands of files and directories. I would like to create a Zip file which only contains some of the folders (and files within those folders) - specifically ...
0
votes
3answers
139 views

BZ2 backup files don't differ in size from day to day

Recently I switched from zip to bz2 for compressing nightly database dumps. The command I'm using is tar cj. The old zip files would always differ ever so slightly in size from day to day: -rw-r--r-- ...
1
vote
2answers
1k views

How to use 7-zip to send a Zip64-compressed file to standard output?

I would like to make a Zip64 archive from a bunch of bzip2 files, using 7za's -so option to send the compressed archive to standard output: $ 7za a dummy -tzip -so myFiles*.bz2 > test.zip Here ...
1
vote
2answers
519 views

Command-line ZIP client

Using the zip command, how do I add all files in the current directory to a zip file without including the folder? For instance, when I unzip, I want all the files to dump out, not get put into a new ...
1
vote
3answers
1k views

how to remotely zip files using putty

Is there a way to remotely ZIP up files using Putty the same way you can ZIP up files using Remote Desktop on another machine?