CentOS打包文件夹为tar.gz命令

常用教程评论5,901阅读模式
tar -zcvf /home/yuanzifan/files.tar.gz /etc/nginx/www1/wp-content/uploads

如上,把/etc/nginx/www1/wp-content/uploads打包成tar.gz压缩文件,并保存到 /home/yuanzifan文件夹下。安装完成后,可以使用FTP到/home/yuanzifan下载。

文章源自原紫番博客-https://www.yuanzifan.com/54811.html

 文章源自原紫番博客-https://www.yuanzifan.com/54811.html 文章源自原紫番博客-https://www.yuanzifan.com/54811.html

 

发表评论

匿名网友
:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:
确定

拖动滑块以完成验证