[TriLUG] stupid 'rm' question

Chris Merrill cmerrill at nc.rr.com
Mon Aug 4 16:13:18 EDT 2003


CVS leaves around these annoying .#filename.1.2.3 files all over
the place...I'm trying to get rid of them.

I tried:
rm -rf .#*
    did not work, although it worked on other wildcards (e.g. rm -rf *.java)

rm -rf .[#]*
    worked, but not recursively (only in the current folder)


I could simply do this with a 'find' piped into a script with some
simple search&replace, but it's driving me crazy that I can't do
it with just 'rm'...
BTW, I'm running this in CygWin :(


any ideas?


-- 
*********************************
Chris Merrill
cmerrill at nc.rr.com
*********************************





More information about the TriLUG mailing list