help with command line deletion

David Herren david at idiomatrix.com
Tue Apr 17 03:05:11 PDT 2007


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...



/david

--
david herren - shoreham, vt us na terra solsys orionarm

"I have said that the sanction regime is like Swiss cheese--that  
meant that they weren't very effective."

-George W. Bush, Washington, DC, Feb 22, 2001

http://www.bushorchimp.com/





More information about the MacOSX-admin mailing list