Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
old files compare date
Name: jemdda Date: May 20, 2004 at 19:38:15 Pacific OS: hp ux CPU/Ram: hp
Comment:
Hi, the below command searches for files older than today in a directory and also subdirectories. I want to restrict the search to the current directory only. Any ideas? Thanks find /path/to/search -type f -mtime +1.
Summary: What I am trying to do is to move the old files in our system to a new archive forlder, these old files are ended with a date extension, which is in various date formats. For example: file1.20070823 f...
Summary: Ohh, the script should be run from cron at the interval in minutes you are looking for old files. i.e. if you want to remove files that are older that 30 minutes old, run the script every 30 minutes....
Summary: Hi, in order to compare date file with the current date, i use this find [path] -daystart -[a/c/m]time [+/-]n -atime n File was last accessed n*24 hours ago. -ctime n File's status was last changed n...