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.
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.
相关文章推荐
- tar 打包的时候如何去掉目录前缀
- 《OD学hadoop》在LINUX下如何将tar压缩文件解压到指定的目录下
- tar打包时排除一些文件或者目录
- linux下如何打包压缩?解包解压?.tar文件.gz文件
- tar打包时排除一些文件或者目录
- 如何在项目启动的时候做一些业务处理 (实现ServletContextListener)
- tar命令如何排除(不包含)文件或目录
- [svc]Linux下tar命令exclude选项排除指定文件或目录
- tar命令如何排除某些文件或目录
- 如何处理创建DB2工具目录数据库的时候遇到的SQL1005N错误?
- linux tar (打包.压缩.解压缩)命令说明 | tar如何解压文件到指定的目录?
- lucene建立索引时候的用到的一些文档和目录操作
- linux tar (打包.压缩.解压缩)命令说明 | tar如何解压文件到指定的目录?
- 建站或者网站搬家换空间的时候,企业站长最关心的一个问题是该如何选择网站空间,而这一问题对于一些擅长的站长来说非常小意思,但对于部分企业站长来说是一个比较头疼的问题。根据不完整数据显示,很多企业站长因为
- linux tar (打包.压缩.解压缩)命令说明 | tar如何解压文件到指定的目录?
- 如何让idea文件夹目录结构清晰一些
- linux tar (打包.压缩.解压缩)命令说明 | tar如何解压文件到指定的目录?
- 如何获取iphone基带芯片工作时候获取到的一些参数呢,如信号强度,小区,周围小区以及一些更深入的参数,有人了解吗
- tar打包时排除一些文件或者目录
- Linux下tar命令exclude选项排除指定文件或目录