• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

compress

compress

compress Compresses data.
uncompress Expands data.
compress [-cfv] [-b <bits>] <file1> <file2>
uncompress [-cfv] <file1> <file2>
compress reduces the size of a file and renames the file by adding a .Z extension. As much of the original file characteristics (modification time, access time, file flags, file mode, user ID, and group ID) are retained as permissions allow. If compression would not reduce a file's size, the file is ignored.
uncompress restores a file reduced by compress to its original form, and renames the file by removing the .Z extension.
-c Writes compressed or uncompressed output to standard output without modifying any files.
-f Forces compression of a file, even when compression would not reduce its size. Additionally, forces files to be overwritten without prompting for confirmation.
-v Prints the percentage reduction of each file.
-b <bits> Specifies the upper bit code limit. Default is 16. Bits must be between 9 and 16. Lowering the limit results in larger, less-compressed files.



PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint