0
votes
0answers
32 views

Windows compact /s /u command runs forever on deep directories greater than MAX_PATH

I ran the command compact /U /S /I /Q > status.txt on a large deep directory and after it ran for over 24 hours I decided to investigate whether it was hanging. It turned out that meanwhile the ...
0
votes
0answers
39 views

How can I list all files recursively that have the compressed attribute set?

I started a decompress operation using compact /U /S /I /Q > compact-report.txt on a large dir (120GB+, ~950M+ files) and it has been going on for about 24 hours now. Most files seem decompressed, ...
2
votes
2answers
72 views

How to extract tar file on Windows, when the filenames include a colon?

I have a tar(.gz) file created on a Linux system, and the filenames contain colon characters. The tar utilities I can find on Windows don't extract these files at all. How can I do this, ideally ...
5
votes
1answer
159 views

How to exclude a folder in 7zip?

I want to compress the folder C:\Temp but without a specific subfolder (e.g. C:\Temp\test). How can I do that with 7zip? I've come up with the following command: c:\Temp>7zip a -t7z test.7z ...
1
vote
0answers
91 views

How to make compact.exe to compress only folders, but not files?

I have a large and complex nested folder structure on disk. Say, Folder1 <many files> Subfolder1 <many files> Subfolder2 <many files> ... SubfolderNNN Compressing all ...
1
vote
0answers
1k views

7-zip command line -p switch not working according to help page [Solution Found]

I want to be able to automate the encryption of the file type .pcapng in a windows batch script. My current problem is that I get an error when extracting the encrypted file saying something along the ...
0
votes
1answer
358 views

Is it possible to recursively list zip file contents with 7 zip without extracting

Similar to this question I have a very large zip file which contains other zip files, folders, and files. I want to use 7-zip to extract a list of file names from it, recursing into subfolders and zip ...
1
vote
2answers
188 views

When compressing a file on command prompt with RAR command, how to stop the process without cancelling it?

I used the following command: rar a -m2 file.rar *.xml \\myroute\ I want to stop the process on the file that have already been processed i.e. using Ctrl + C will cancel the process but not finish ...
1
vote
1answer
191 views

Copying all the files of one extension into a folder

I have been trying to write a .bat program which will find all the files with a given extension, for example *.doc, and will put them into a rar archive. I want all the files to be copied even if ...
1
vote
1answer
1k views

How do I compress multiple files into one archive using lzma?

Looking at the options of xz and lzma, I can't for the life of me figure out how to compress multiple files into one archive. I know it is possible because I've uncompressed a .lzma file and it opened ...
1
vote
2answers
1k views

Synchronizing files using 7zip and the CLI

In the command line, 7zip has the command 'a' to "Add files to archive". But I want to sync the files instead. This is one of the main options in the GUI, but the CLI has disregarded it for some ...
0
votes
1answer
247 views

I am trying to zip files individually, but the file type is unknown

I am trying to zip some files with an unknown file type individually. I am using the following code in a batch script to do that: @ECHO OFF FOR %%A IN (bestbuy*nat*component.cpi*) DO "C:\Program ...
8
votes
4answers
8k views

How to obtain maximum compression with .tar.gz?

The way i understand the use of tar + gzip is that tar is normally used to consolidate a grouping of files into a single file, then gzip is used to compress that file. I recently learned that tar can ...
1
vote
2answers
504 views

Is there a way to determine the original size or file count of a 7-zip archive?

I know that when I compress an archive with the 7za utility, it gives me stats like the number of files processed and the amount of bytes processed (the original size of the data). Is it possible, ...
0
votes
5answers
2k views

Zip multiple folders indvidually, automatically

I have folders full of photos within category folders eg holidays spain france italy family son daugher christmas 2010 2011 ... except much longer ... there are about 100 folders. I need ...
4
votes
2answers
269 views

Unix/Linux program that can handle all popular compression/archiving formats (e.g.tar, gzip, bzip2, zip)?

I sometimes get confused by the varying command line options I need to run common Unix archiving and compression software (e.g. gzip, bzip2, zip, tar). Is there a program out there that can just Do ...
0
votes
2answers
314 views

Is there a command line version of Windows XP's compression program

What is Windows XP's command line built in compression tool? I would like to call it from my batch file.
14
votes
5answers
37k views

Command to 'gzip' a folder?

I am new to Mac command prompt stuff. How do you create a gzip of a folder in Mac OS X? I was told by a few folks that if you want to create a gzip of a folder you should 'tar' it first and then ...
2
votes
2answers
1k views

Command line alternative to rar.exe with complex switches

I am searching for a command line alternative to rar.exe from winrar which supports the multitude of options that rar.exe does, preferably one that is open source. Specifically, I am searching for a ...
1
vote
0answers
197 views

Compress files on Windows Server 2003

Duplicate Questions How to compress files with batch file? Using compact.exe didn't do what I wanted. I'd like to have an archive file created so that the files can be retrieved. This is ...
1
vote
1answer
148 views

Compressing a file from command line [duplicate]

Possible Duplicate: Compressing files in windows I want to compress a file using the command line. This command-line C: compact /c aa.xml returns a successful message but I can't see any ...
2
votes
2answers
198 views

Looking for archive tool with very simple command line usage

OS: Windows XP Requirements: Support compress/uncompress zip format Like gzip can use the original file name as archive file name, so no need to specify archive file name. gzip target_folder, so ...
1
vote
2answers
1k views

How to 7za file without specify archive name

Say have an executable target.exe, is there any way to compress this file into target.zip without specify archive name(output name) by using 7zip command line?
1
vote
2answers
1k views

selfextracting archive with 7zip via cmd.exe

I downloaded 7za.exe and did this to compress a file.exe: 7za.rar a -mx9 archive file.exe Now I want to create a selfextracting archive (.exe), so I tried this: 7za.rar a -mx9 -sfx archive ...
1
vote
4answers
28k views

Commandline to zip a file using WinRar

I looked for the answers in the list and did not find any matching. What is the commandline to zip a file using Winrar, and then move it to a particular folder?
2
votes
5answers
7k views

Is there a way to use the built-in Windows file compression tool on the command line?

Instead of using Right-Click/Send To/Compress (Zipped) Folder. I am using Windows Server 2003 Enterprise Edition.