help with command line deletion

Scott Anguish scott at cocoadoc.com
Wed Apr 18 08:14:32 PDT 2007


I wonder if the difference here is the shell that you use...
On Apr 17, 2007, at 6:05 AM, David Herren wrote:

>
> On Apr 17, 2007, at 11:45 AM, Jyrki Wahlstedt wrote:
>
>> one thing you could use, is:
>> $ find somedir -name '.indelible-info' -exec rm -rf {} \;
>>
>> with 'somedir' being a directory name (first a small set, finally  
>> '/'). Like this no other directories are touched.
>
> attempting this returns:
>
> voyager2:/Volumes/Data/Applications/Graphics/Graphing Calculator.app  
> sysadmin$ sudo find ./ -name '.indelible-info' -exec rm -rf {} \;
> find: .//.indelible-info: No such file or directory
>
> and the rest of the .indelible-info directories under the Graphing  
> Calculator tree...




More information about the MacOSX-admin mailing list