Linux打tar包排除目录中的某个目录

 

eduyun eduyunbackup eduyun.tar.gz temp test
root@eduyun:/home# rm -rf eduyun.tar.gz
root@eduyun:/home# tar zcvf eduyun.tar.gz --exclude=eduyun/eduyun eduyun

posted @ 2017-10-13 10:18  Againn  阅读(406)  评论(0编辑  收藏  举报