- 论坛徽章:
- 0
|
man gzip
- By default, gzip keeps the original file name and timestamp in the compressed file. These are used when decompressing the file
- with the -N option. This is useful when the compressed file name was truncated or when the time stamp was not preserved after a
- file transfer.
复制代码
man bzip2
- bzip2 expects a list of file names to accompany the command-line flags. Each file is replaced by a compressed version of
- itself, with the name "original_name.bz2". Each compressed file has the same modification date, permissions, and, when possi‐\r
- ble, ownership as the corresponding original, so that these properties can be correctly restored at decompression time. File
- name handling is naive in the sense that there is no mechanism for preserving original file names, permissions, ownerships or
- dates in filesystems which lack these concepts, or have serious file name length restrictions, such as MS-DOS.
复制代码 |
|