Hi,
I am looking for a script or command to remove all files which are older than 7 days. In my linux box under /home there are many user directories i need to delete all the files which r older than 7 days.. how do i do it??.. i tried find /home/*.ext -atime +7 -print | xargs rm .. i dunno its correct or not.. but in this i hv mentioned *.ext, i don't want to mention any extension.. it should delete all the files with and without extension and it should not delete any directories.. only file removal is needed.. can anybody help me plz. Thanks