C. Create a new archive file. Select this option if you want to back up a directory or some files. R: append the file to the end of the file. For example, if you have prepared a backup file and find that there is still a directory or some files have forgotten to be backed up, you can use this option to append the directory or files you have forgotten to the backup file. T list the file content and check which files have been backed up. U updates the file. That is to say, replace the original backup file with the new file. If the file to be updated cannot be found in the backup file, append it to the end of the backup file. X release a file from the file. Auxiliary options: B. This option is set for the tape drive. It is followed by a number to describe the block size. The default value is 20 (20*512 bytes ). F. This option is usually required when you use an archive file or device. K. Save the existing files. For example, if we restore a file, the same file will not be overwritten during restoration. M sets the modification time of all files to the present when restoring files. M creates a multi-volume archive file to store it on several disks. V detailed report on the file information processed by tar. If this option is not available, tar does not report file information. W each step requires confirmation. Z uses gzip to compress/decompress the file. With this option, the file can be compressed. However, you must use this option to decompress the file during restoration. |