|
⇤ ← Revision 1 as of 2011-03-28 21:49:28
Size: 713
Comment:
|
← Revision 2 as of 2019-12-16 13:46:33 ⇥
Size: 0
Comment: CVS no longer used
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 1: | Line 1: |
| === Find files in current Dir not in Version Control === {{{ cvs -qn update | grep "^?" | cut -f 2 -d " " }}} === Add directories recursively === Warning: adds all directory under the current directory. Use `grep -v` to remove them. Chain multiple `grep -v`s {{{ find . -type d -print0| xargs -0 cvs add }}} === Add files recursively === Add all files under the current directory: {{{ find . -type f | grep -v CVS | xargs cvs add }}} Add all files with extension `cxx` under the current directory: {{{ find . -name "*.cxx" | grep -v CVS | xargs cvs add }}} '''Note''': All the commands involving recursive `cvs add` should first be invoked without the `cvs add` just to check. |
