https://softwareengineering.stackexchange.com/questions/149824/automatically-delete-files-after-they-expire
https://superuser.com/questions/1072679/bash-what-does-means
http://linux.vbird.org/linux_basic/0430cron.php
find $search_path -atime +3 -exec rm {} \;
加到crontab裡面
# crontab -e
{}的意思就是find輸出的結果會帶到rm的參數,\;是確保command結束符號,可用+取代
沒有留言:
張貼留言