标签:
1)tar -r 可以append file to tared_package.
tar -rf tared_package 添加文件
2)不打包目录用
ls -a --color=none | grep -v ‘^\.*$‘ | xargs tar -zcvf Workspace.tar.gz --exclude 目录名
3) 删除用 tar --delete -f tared_package 删除文件名
标签:
原文地址:http://www.cnblogs.com/the-tops/p/5579838.html