\{\} \

 
Thread Tools Search this Thread
Operating Systems OS X (Apple) \{\} \
# 1  
Old 11-10-2010
\{\} \

Hi

I use the following instruction in a script

Code:
/usr/bin/find /Library/Safari/ -not -name Bookmarks.plist -execdir /bin/rm -rf \{\} \

I know what is going to happen. What I do not understand is the last part
Code:
\{\} \

Can someone explain me that (Google was of no help at all)

Thanks in advance
Lazy

Last edited by Scott; 11-10-2010 at 02:49 PM.. Reason: Please use code tags
# 2  
Old 11-10-2010
Hi.

I don't suppose that \{\} is different from just {}, a description of which is found in the man page for find.

(and there's a missing ; after the \ at the end of the line)
# 3  
Old 11-10-2010
It's equivalent to '{}', which the find command substitutes with the file it found.
Login or Register to Ask a Question

Previous Thread | Next Thread
Login or Register to Ask a Question