Skip to content


cvs adding a bunch of files

Today I had to put a lot of files into cvs repository. First I repeated *cvs add blah blah* so many times and then after I wanted to find a way to add files to cvs easily. Here’s what I found out:

(actually i was adding .as files)

find ./ -name "*.as" -exec cvs add {} \;

That was just cvs but with “find”, I could remove a bunch of files too!

find ./ -name "*._ymv*" -exec rm {} \;
find ./ -name "*.DS_Store" -exec rm {} \;

Posted in Tips.

0 Responses

Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.