Delete all directories more than a week old 15 years ago 1 min read Linuxmain search directory This simple linux bash script will delete subdirectories in a directory based on when the subdirectory was last modified. In my sample script, it looks in the directory /home/backup and deletes any