开发者

how do i tar a directory of files and folder without including one folder

how do i tar a directory of files and folder w开发者_如何学运维ithout including one folder


In a UNIX shell, you would use:

tar --exclude {dir-name} {dir-to-tar} > {tar-file}

where {dir-name} is the directory (or file) to exclude.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜