Rootop 服务器运维与web架构

tar压缩排除某个文件夹

1
[root@localhost html]# tar zcvf web.tar.gz --exclude=web/Files  web

  web/Files为要排除的文件夹路径。

比如要排除web下的files文件夹,不能写为web/files/。  (红色斜杠)

原创文章,转载请注明。本文链接地址: https://www.rootop.org/pages/1384.html

作者:Venus

服务器运维与性能优化

评论已关闭。