Show/Hide Toolbars

Take Command / TCC Help v. 21

Purpose:Create bzip2 (*.bz2) compressed archives


Format:BZIP2 [/= /A:[[-][+]rhsdaecjot] /A /M /Q /V] bzip2archive [@file] file


bziparchiveThe .bz2 file to work with
fileThe file to extract




BZIP2 is normally used for compressing a single file; if you need to compress multiple files you should use the ZIP (or TAR) command.


You can specify a pathname for bzip2archive. If you don't provide an extension, and the filename as entered doesn't exist, BZIP2 adds ".bz2". If you don't specify an operation, BZIP2 will default to Add.




/A:...Select only those files that have the specified attribute(s) set. See Attribute Switches for information on the attributes which can follow /A:. Do not use /A: with @file lists. See @file lists for details.


You can specify /A:= to display a dialog to help you set individual attributes.


/AAdd the specified file to the archive. (This is the default.)


/CDisplay (on standard output) the contents of a file in the zip archive.


/MDelete the file from the disk after adding them to the gzip file.


/QDon't display the file being compressed.


/VView the contents of the .gz file (date, time, and filename). If the file was compressed with lzw, it will not have a header, so it cannot be viewed.


/=Display the BZIP2 command dialog to help you set the filename and command line options. The /= option can be anywhere on the line; additional options will set the appropriate fields in the command dialog.