Sorry guys but I have asked this question before and am still trying to find a solution.
How do I find files older than 2 days and remove them ?
The problem with the find command is that it looks across directories and I need to look in specific directories only.
The -prune option does not work for me either.
I need this kind of solution ;
ls -l mydir | find -mtime +3
OR
is there a command to display file date info like eg. aclget
Any bright ideas ?
Thanks
Steve
How do I find files older than 2 days and remove them ?
The problem with the find command is that it looks across directories and I need to look in specific directories only.
The -prune option does not work for me either.
I need this kind of solution ;
ls -l mydir | find -mtime +3
OR
is there a command to display file date info like eg. aclget
Any bright ideas ?
Thanks
Steve