Last active
August 29, 2015 14:18
-
-
Save dvcama/cf4f8af3a05832d25450 to your computer and use it in GitHub Desktop.
cvs: command line first commit
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
find . -type d \! -name CVS -exec cvs add '{}' \; | |
find . \( -type d -name CVS -prune \) -o \( -type f -exec cvs add '{}' \; \) | |
find . \( -type d -name CVS -prune \) -o \( -type f -exec cvs commit -m "first version" '{}' \; \) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment