Re: Can't find a file

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

 



Yong Huang wrote:
> The file exists:
> $ ls -l /site/forms/cris/help/Collection_Request_Help_files/image001.png
> -rw-r--r--  1 appmgrp users 35891 Feb 11  2010
> /site/forms/cris/help/Collection_Request_Help_files/image001.png
>
> But find doesn't find it unless the first arg (path) is exactly the
> directory where the file is:
> $ find /site/forms/cris | grep
> /site/forms/cris/help/Collection_Request_Help_files/image001.png
> $ find /site/forms/cris/help | grep image001.png
> $ find /site/forms/cris/help/Collection_Request_Help_files | grep
> image001.png
> /site/forms/cris/help/Collection_Request_Help_files/image001.png
<snip>
Sorry, but this is rather unclear: it sure looks like it found it, from
what you posted.

What does
find /site -name image001.png -ls

give?

          mark

-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list


[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux