Is it possible to create a .zip file from a folder in the command line, I don't want to use any third party executable. I was thinking something like 'send to compressed folder' but I don't know h...
142 I have a batch file that outputs a text file. I want to zip it too. This will be used in an uncontrolled environment, so I can't make assumptions about the presence of third-party software products such as 7-Zip. This needs to use Windows' now-built-in capability to zip files.
I compressed the same data using Windows built-in zip mecanism, and from a Linux point of view, I cannot see any difference in the file type: $ file madeinlinux.zip : Zip archive data, at least v2.0 to extract $ file madeinwindows.zip : Zip archive data, at least v2.0 to extract They're must be something specific to a Windows compatible zip file.
I need to know the absolute fastest way to zip (not compress) larger files in 7-Zip. By large files I mean 1Tb or so, this will be done often (multiple times per day).
7-zip has an option to UNZIP every file into its own folder (*/), but lacks the context commands to do the opposite action you are looking for. That said, I remember doing this exact thing using winrar in the past.
This is the internal zip packer from Total Commander: However I want to use my 7zip packer. When I select 5 files, I get 5 separate .zip archives for each selected file. How do I do that in 7zip?
Using the zip command, you can supply a specific list of extensions to store without compression. That way you don't waste time (re-)compressing your media files, but you still get the benefits of compression for raw files in the same archive.
Based on the idea that a zipped file is a new binary file, why can't I reduce a Zip's size by zipping it again and again – up to a very small resulting file?
It will not delete old zip files or the source folders. Zip is smart enough to detect existing zip files and update them when run again. However, if you delete a file in the source folders it will not be deleted in the zip files. You might circumvent this behaviour by deleting existing files beforehand.