On Wednesday 01 June 2005 16:02, William Astle wrote:
> Nick W wrote:
> > On Wednesday 01 June 2005 15:54, William Astle wrote:
> >>Nick W wrote:
> >>>because I'm lazy, how would one write a script to recursively rm files
> >>>ending in '~' starting at any given dir?
> >>
> >>find $dir -type f -name \*~ -exec rm -f \{\} \;
> >
> > Wow, that was quick. TY for assisting my laziness.
> >
> > Nick
>
> Some of us have a store of incantations in our heads. And camp on our
> email. :)
if you're bored I'd be interested in a syntax explanation. Most of it seems
obvious except -f \{\} \;
_______________________________________________
clug-talk mailing list
[email protected]
http://clug.ca/mailman/listinfo/clug-talk_clug.ca
Mailing List Guidelines (http://clug.ca/ml_guidelines.php)
**Please remove these lines when replying