cvs add files recursively – not already in repository
2013-11-12
89 words
1 min read
When you have a lot of files in some repository and you have added a couple of new, in CVS there is no command to add just the new ones to the repository, so here is a workaround for that.
cvs status 2>/dev/null | awk '{if ($1=="?")print "cvs add -kb " $2}'
Well, if you are adding text files then you might want to remove the “-kB” in the cvs command above.
Related articles
Related Articles:
- 2012/10/17 meld – cvs diff with ease
- 2012/07/07 Ignore CVS and svn directories in bash autocompletion.
- 2011/06/05 Total upload and download on any interface.
- 2013/04/24 configure firewall – the easy way.
- 2012/09/17 Ubuntu – Really force remove a package.
Authored By Amit Agarwal
Amit Agarwal, Linux and Photography are my hobbies.Creative Commons Attribution 4.0 International License.