I am trying to find all files modified before march 6 in a directory with thousands of files.
I executed the following commands in the PWD where I want to find files.
find -mtime +47 > /root/file_005.log
find -mtime +48 > /root/file_006.log
find -mtime +49 > /root/file_007.log
The problem is no matter what date filter(47,48.49.50...) is used in the find command I keep getting files with a modified date between March 8 -12 in the results.
This is the output of
staton one of the problem files:
Device: 16h/22d Inode: 17 Links: 1 Access: (0666/-rw-rw-rw-) Uid: ( 8506/ UNKNOWN) Gid: ( 5000/ UNKNOWN) Access: 2013-04-22 10:08:20.000000000 -0500 Modify: 2013-03-10 03:10:20.000000000 -0500 Change: 2013-03-10 03:10:20.000000000 -0500
Does anyone have an idea what may be causing files that were modified after March 6 to appear in the results?
- Q: Is this a NTFS mounted filesystem or EXT3/4?
- A: No its not. This is a drive mounted on my UNIX box using sshfs.