code_junkie

How to add CVS directories recursively

Nov 10th, 2011
131
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. find . -type f -print0| xargs -0 cvs add
  2.  
  3. find . -type d ! -name CVS -exec cvs add '{}' ;
  4.  
  5. find . ( -type d -name CVS -prune ) -o ( -type f -exec cvs add '{}' ; )
  6.  
  7. find . -type f | xargs cvs add
  8.  
  9. find . -type d -print0| xargs -0 cvs add
  10.  
  11. find . -type f -print0| xargs -0 cvs add
Add Comment
Please, Sign In to add comment