Re: ls returns file doesn't exist, find finds it??

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



Am 24.02.2011 09:03, schrieb Corey Quinn:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
>
> On Feb 23, 2011, at 10:26 PM, John R. Dennison wrote:
>
>> On Thu, Feb 24, 2011 at 01:22:41AM -0500, Kwan Lowe wrote:
>>> Instead of piping to xargs, try:
>>> find . -type f -mtime +15 -exec ls {} \;
>>
>> 	Or get rid of child processes entirely:
>>
>> 	find . -type f -mtime +15 -ls
>
> Or don't depend on ls for such applications.  Use stat or echo instead.

Why?
And if you give good advice, why is the OP seeing the problem?

Rainer
_______________________________________________
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