5

Problems extracting some information

view full story
linux-howto

http://www.unix.com – Hi there! Well, I'm writing a script to obtain certain information about files. Specifically, I want to get the information about those files which last access were in the last 24 hours, so I'm doing something like this: Code: find <directory_name> -atime -1 -printf '%f %a\n' I would also like to add some extra information to this result: I would like to obtain the date and time of the last modification of these files if that is also during the last 24 hours, so that I might use '%t' anywhere. The problem is that not all files were also modified during this time. How could I im (HowTos)