首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 其他教程 > 操作系统 >

liunx tar封装,排除某个子目录或文件的命令

2013-07-20 
liunx tar打包,排除某个子目录或文件的命令oms目录下面有 WEB-INF、web.xml、depository、。。。。现需打包oms文

liunx tar打包,排除某个子目录或文件的命令

oms目录下面有 WEB-INF、web.xml、depository、。。。。

现需打包oms文件夹,但不包含depository,命令如下:

tar -zcvf?oms.tar.gz --exclude=*depository*?oms/

热点排行