Change recursive CVS repository information on commanline

You can easily apply a new "Root"-file for a recursive checked out repository structure with the following line (assuming, that you don't have any files called "CVS/Root" except the CVS/Root).

 find . | grep "CVS/Root" | while read LINE; do echo "$LINE:";cp /home/dracoblue/Root $LINE; done

In this example /home/dracoblue/Root holds the updated Root-File and the command line is executed in the directory which you want to change recursively.

In articles, bash, linux, open source by
@ 07 Aug 2008, Comments at Reddit & Hackernews

Give something back

Were my blog posts useful to you? If you want to give back, support one of these charities, too!

Report hate in social media Campact e.V. With our technology and your help, we protect the oceans from plastic waste. Gesellschaft fur Freiheitsrechte e. V. The civil eye in the mediterranean

Recent Dev-Articles

Read recently

Recent Files