网站大量收购独家精品文档,联系QQ:2885784924

tar命令中--exclude参数使用详解(Tar command, --exclude parameters use detailed explanation).doc

tar命令中--exclude参数使用详解(Tar command, --exclude parameters use detailed explanation).doc

  1. 1、本文档共7页,可阅读全部内容。
  2. 2、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
tar命令中--exclude参数使用详解(Tar command, --exclude parameters use detailed explanation)

tar命令中--exclude参数使用详解(Tar command, --exclude parameters use detailed explanation) Tar command, --exclude parameters use detailed explanation 2008-04-07 11:15:33| classification: Linux | brand subscription Tar, --null, -P, -czf, /tmp/archive.tar.gz, --files-from=files.lst Files.lst is a list of files to pack The use of --exclude in tar Tar, czvf, oracle.tar.gz, Oracle, --exclude, oracle/oradata, --exclude, oracle/admin/shvoip, oracle/doc, --exclude How do I use tar to exclude a directory from being backed up? You pack the /home directory, and /home/123/ is the directory you dont want to pack. Tar, CVF, my.bak.tar, /home, --exclude, /home/123 Tar exclude Published, at, February 20, 2008, in, C/C++. For a long time, tars exclude should be placed at the end of the line: Tar, jcvf, WLANIntercepttar.bz, WLANIntercept/ - exclude=Debug You need to backup the contents under /home/software/test, Does not contain the contents of directory 005 This can be backed up #cd /home/software/test # tar -cvzf test.tar.gz --exclude=005. . ./001 ./002 ./003 ./004 ./008 ./test.tar.gz If you go back to the previous level directory, CD / /home/software is in # tar -cvzf test.tar.gz --exclude=test/005/ test Test/ Test/001 Test/002 Test/003 Test/004 Test/005/ Test/005/006 Test/005/007 Test/008 Test/test.tar.gz Exclude doesnt work, does it? If you follow the successful method above, if you extract it, you will be able to solve the contents directly under test Current directory.... Second, why is there a problem with the general method? Please point out...... Asking for tar backup in exclude Halo has been resolved # tar -cvzf test.tar.gz --exclude=test/005/ test # tar -cvzf test.tar.gz --exclude=test/005 test The two effects are absolutely different. The tar command has a exclude parameter, when you pack to exclude some of the characteristics of the file when you need to use it, exclude parameter PATTERN, can be specified to exclude the scope, see the following document detailed usage,

您可能关注的文档

文档评论(0)

f8r9t5c + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

版权声明书
用户编号:8000054077000003

1亿VIP精品文档

相关文档