How to use a tape drive (TAR)

Source: Internet
Author: User
2003/07/18 Xu Yunsheng 1. copy the file (or directory) to tar CVF/dev/st0 filename1 filename2 on the drive... (overwrite) tar RVF/dev/st0 filename1 filename2... (add copy) or tar-r/filename1... -VF/dev/st0 (not tried) 2. List the files on the drive, tar tvf/dev/st03, and change the files (or directories) on the tape) copy to the current directory tar xvf/dev/st0 filename filename24, delete one or more files from the existing tape tar -- delete ETC/hosts-VF/dev/st0 Note: V: show all information of the file (such as attributes, size, and time) F: the following is the tape device name written into the tar file ==== tar. ========= 1. Package the files and directories under the WWW directory to the current directory # cd/var tar zcvf www20040211.tar.gz. /www2, decompress it to the current directory tar zxvf www20040211.tar.gz

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.