Hi,
I need to filter and remove files which are older than a month from a Unix folder. I got the below command from Daniweb.
find /path/to/directory -type f -mtime +31 -exec ls -ltr {} \; Can I use this command in ksh script?
Does the file name need to be in a special format for this command to work? How does this command work? Does it a recognise the creation time of the file automatically even if it is not mentioned in the file name?