Tag Info

New answers tagged

0

This version resolves all isuues with spaces and puts files into source directory of each archive: set folderPath="N:\Private for /f "usebackq delims=|" %%f in (`dir /s /b %folderPath%\*.zip"`) do "C:\Program Files\7-Zip\7z.exe" x "%%f" -aoa -o"%%~dpf" && del "%%f"


0

Swiss File Knife will allow you to do this from the command line in Windows. sfk list -arc MyFileFamily.zip > MyFileFamilyReport.txt


0

When you copy uncompressed files into a NTFS compressed folder the compression level isn't changed, and you cannot set them to compress them automatically (only newly created files are created as compressed). Instead you have to use compact.exe to compress all the files in the folder after you have moved files in there. You can do this using a batch file - ...


1

You can password-protect an existing ZIP file with zipcloak. EDIT: T. Furukawa crafted a patch for zipcloak that adds a password option, so batch processing is much easier: C:\>for %f in (*.zip) do zipcloak -p password %f. If you prefer a GUI, both WinRAR and PeaZip can batch encrypt existing archives. In WinRAR: Select ZIP files > Tools > Convert ...


0

Try find /home/andi/xyz/backend/media -type f -print | zip -j name.zip -@ find looks for files & pipes them to zip. -j means junk the path & -@ tells zip to read from the stdin. Hope this was helpful.


0

Reference zip: Package and compress (archive) files: -j --junk-paths Store just the name of a saved file (junk the path), and do not store directory names. By default, zip will store the full path (relative to the current directory). ... You may want to make a zip archive that contains the files in foo, without recording ...


0

I assume you want to use the zip format instead of the 7z format so set -tzip and include the path in quotes in case there is a space in the path. 7z.exe a -tzip "file.zip" "C:\folder" Check the cmd manual for more details: http://sevenzip.sourceforge.jp/chm/cmdline/commands/index.htm


0

What I actually want to do, is to run the zip process working even after exiting/disconnecting from the terminal Let me ignore the 'zip' part. To continue to run any program after disconnecting from the terminal, either: Run in the background and disown. Use TMUX Use screen.


0

Several ways will help you reduce wav file successfully. If you don't care about the quality loss, it is suggest to use the special WAV compressor like WAVpack Audio Compressor. The program can reduce the size as you wish, but you need take time to learn the operation. Alternatively, you can use the audio editing software, cut the silent or unwanted parts ...


1

Very simple: zip archive -@ < out.txt That is, if your out.txt file contains one filename per line. It will add all the files from out.txt to one archive called archive.zip. The -@ option makes zip read from STDIN. If you want to skip creating a temporary out.txt file, you can use grep's capability to print filenames, too. -r enables recursive search ...


0

Even if you disable somehow totally the timestamp I wouldn't be 100% sure it would save you in every case. Infact the order of the files could change the results (ie. "tar cf a.tar file1 file2" differs from "tar cf b.tar file2 file1" but by your specification the contents are the same, and the order may be filesystem dependant). I would suggest that you ...



Top 50 recent answers are included