1

Find command output gives one day before time stamp

view story
linux-howto

http://www.unix.com – Hi All, I am listing the files which are 4 hours older. For this first I have creted a dummy file with the 4 hours before timestamp, then I am using the below find command, find /path/ -type f ! -newer 4_hours_oledr_file -exec ls -lrt {} \; I am getting the files which are older than the four hours only. But in the op the time stamp of the files coming as one day older. /path/ack_test_20121004155730774.X12,Oct 4 15:57 /path/ack_test_20121004160351369.X12,Oct 4 16:03 /path/ack_test__20121004160621672.X12,Oct 4 16:06 actually these three files are created oct 5th only. but in the op it (HowTos)