find with -mtime and -print0 = inaccurate results

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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?
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux