用find只保留20天的备份

  sre

v2-7186d7b84dbac15e014ec8c2bd3dee43_r.jpg

find /path/for/file -type d -mtime +20|xargs rm -rf

LEAVE A COMMENT

Captcha Code