find /ftp_data/ -mindepth 2 -type d -mtime +7 -exec rm -rf {} \; 转载于:https://www.cnblogs.com/linn/p/5948234.html