摘要: 1、打包/etc/目录下面所有conf结尾的文件,压缩包名称为当天的时间,并拷贝到/usr/local/src目录备份。 #find /etc/ -name '*.conf'|xargs tar -zcvf `date +F%`.tar.gz && cp -a *.tar.gz /usr/local 阅读全文
posted @ 2021-10-02 16:22 seraph21 阅读(41) 评论(1) 推荐(0)