windows:
find /d/ScriptTest -cmin +60 -type d -exec /c/Program\ Files/Git/usr/bin/rm.exe -rf {} ;
linux:
sudo find . -cmin +60 -name "*" -exec /bin/rm -rf {} ;
windows:
find /d/ScriptTest -cmin +60 -type d -exec /c/Program\ Files/Git/usr/bin/rm.exe -rf {} ;
linux:
sudo find . -cmin +60 -name "*" -exec /bin/rm -rf {} ;
本文标题:定时删除脚本
本文链接:https://www.haomeiwen.com/subject/rcyrqktx.html
网友评论