Dear Experts,
please can any body help me to explain the below commants in detail what exactly its doing what we mean by -mtime +2 and -exec and rm{};
find /home/data/ab.200* -mtime +2 -exec rm {} \;
Regards,
SHARY
Dear Experts,
please can any body help me to explain the below commants in detail what exactly its doing what we mean by -mtime +2 and -exec and rm{};
find /home/data/ab.200* -mtime +2 -exec rm {} \;
Regards,
SHARY
Shary, the best way to have a full explanation of a unix command:
man command
remove the files in /home/data/ named ab.200* that have not modified for 2 days