您的位置:首页 > 其它

tar解包的时候如何exclude一些目录

2010-12-11 12:29 399 查看
Howto exclude file/directory when untar a archive

Add --exclude <pattern> at the END of the command line.

E.g:

tar jxvf <tar file path> --exclude "src/linux"

This makes all file/directory which their path includes "src/linux" will not be untared.
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐