[CentOS] find with -mtime and -print0 = inaccurate results
Sean Carolan
scarolan at gmail.comThu Oct 25 20:41:51 UTC 2012
- Previous message: [CentOS] Completely automatic yum updating on Centos 6
- Next message: [CentOS] find with -mtime and -print0 = inaccurate results
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
If I run this: find /path/to/files/ -type f -mtime -2 -name *.xml.gz I get the expected results, files with modify time less than two days old. But, if I run it like this, with the print0 flag: find /path/to/files/ -print0 -type f -mtime -2 -name *.xml.gz I get older files included as well. Anyone know why?
- Previous message: [CentOS] Completely automatic yum updating on Centos 6
- Next message: [CentOS] find with -mtime and -print0 = inaccurate results
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the CentOS mailing list