需要:把最近一天修改过的文件备份一遍。 find . -name "*.html" -type f -mtime +1 | xargs tar -czvf html.tar.gz 转载于:https://www.cnblogs.com/ch3rry/p/3900817.html