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 {} \;
  • Trackback are closed
  • Comments (0)
  1. No comments yet.