1

Want to delete directory, subdirectories and all files which are older than 7 days

view story
linux-howto

http://www.unix.com – how do i remove sub directories of a directory and all files which are older than 7 days by a single command in AIX. pls help me. I am using command as #find /gpfs1/home/vinod/hpc/ -depth -type d -mtime +7 -exec rm -rf {} \; so i want to delete all sub directories and all files from the hpc dir. which are older than 7 days. (HowTos)