Show pagesourceOld revisionsBacklinksBack to top Share via Share via... Twitter LinkedIn Facebook Pinterest Telegram WhatsApp Yammer RedditRecent ChangesSend via e-MailPrintPermalink × Remove old Directories just a quick one-liner used to remove all subdirectories of /tmp/mydir/ that are older than 500 days: find /tmp/mydir/* -maxdepth 0 -ctime +500 -type d -exec rm -rf {} \; remove_old_directories.txt Last modified: 29.03.2018 18:03by Pascal Suter