The wildcard expansion only works one time. So the "rm -r" only applies to directories that match with wildcards.
This means you have to use find to do what you are trying.


John

On Monday, August 4, 2003, at 04:13 PM, Chris Merrill wrote:

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 [EMAIL PROTECTED] *********************************


--
TriLUG mailing list : http://www.trilug.org/mailman/listinfo/trilug
TriLUG Organizational FAQ : http://trilug.org/faq/
TriLUG Member Services FAQ : http://members.trilug.org/services_faq/
TriLUG PGP Keyring : http://trilug.org/~chrish/trilug.asc



-- TriLUG mailing list : http://www.trilug.org/mailman/listinfo/trilug TriLUG Organizational FAQ : http://trilug.org/faq/ TriLUG Member Services FAQ : http://members.trilug.org/services_faq/ TriLUG PGP Keyring : http://trilug.org/~chrish/trilug.asc

Reply via email to