On Fri, Jul 25, 2008 at 10:54 AM, Karl Cunningham <[EMAIL PROTECTED]> wrote:
> On 7/25/2008 10:44 AM, John Oliver wrote:
>>
>> Is there a way to get find to not trip on spaces in filenames?
>
> Put it in quotes, or escape it. Probably other ways too.
>
> $ touch 'foo bar'
> $ find . -name 'foo bar'
> ./foo bar
> $ find . -name foo\ bar
> ./foo bar
find(1) has no problem with spaces in file names. The program that
receives results from find might have a problem. What is it that you
want to do? Can you give an example?
carl
--
carl lowenstein marine physical lab u.c. san diego
[EMAIL PROTECTED]
--
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list