Computing.Net > Forums > Unix > How to find file older than 4 hours

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.

How to find file older than 4 hours

Reply to Message Icon

Name: xavier.bouldoire
Date: June 12, 2003 at 02:33:18 Pacific
OS: AIX 4.3.3
CPU/Ram: 4G 4CPU
Comment:

Hi,

I have to move files older than 4 hours from a directory to another.

How to find these file ?
The find command with -mtime can't be applied because time is up than 24 hours.

Thanks



Sponsored Link
Ads by Google

Response Number 1
Name: ArnoldF
Date: June 12, 2003 at 05:49:33 Pacific
Reply:

As I recall, AIX find does not include -cmin?
man find to check.
If find(1) includes "newer" and touch(1) supports -B, you could use this to hack.

perl will do it. (so will linux)


0
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Unix Forum Home


Sponsored links

Ads by Google


Results for: How to find file older than 4 hours

how to find files and move to direc www.computing.net/answers/unix/how-to-find-files-and-move-to-direc/4822.html

find files www.computing.net/answers/unix/find-files/3391.html

How to remove files after 6 hours www.computing.net/answers/unix/how-to-remove-files-after-6-hours/7102.html