I'm using KSH and i need to have my files listed that are 1 hour old.
So if a file has been accessed 30 minutes ago, i don't want that file in my list, but if a file has been accessed 60+ minutes ago, he needs to be in that list (also if the file has been accessed months ago)
so, what i've got now is:
test=`find /some/folder -atime 1`
my result is on a good way, meaning that i get some files, but not all of them.. so i geuss i'm missing something.
I've also looked at the manpages for find in the KSH
True if the file access time subtracted from
the initialized time is n-1 to n multiples of
24 h. The initialization time shall be a
time between the invocation of the find
utility and the first access by that
invocation of the find utility to any file
specified by its path operands. The access
time of directories in pathname_list is
changed by find itself.
what do they mean with that (bold section)?