[CentOS] find with -mtime and -print0 = inaccurate results

Stephen Harris lists at spuddy.org
Thu Oct 25 16:51:33 EDT 2012


On Thu, Oct 25, 2012 at 03:41:51PM -0500, Sean Carolan wrote:
> If I run this:
> find /path/to/files/ -type f -mtime -2 -name *.xml.gz

> find /path/to/files/ -print0 -type f -mtime -2 -name *.xml.gz

Order of operations
  find /path/to/files/ -type f -mtime -2 -name *.xml.gz -print0

-- 

rgds
Stephen


More information about the CentOS mailing list