Ram
Ram

Reputation: 25

CVS : How to get the list of modified/added files recursively in CVS

I would like to know how to get the modified/added files recursively in CVS.

i tried below command it works great. but i want to know is there any better command.

cvs -qn update | egrep 'M |A |U ' | awk '{print $2}'

It would be Great, if some one share the script to display changed files(add/modified) and add(new) and commit(change).

Upvotes: 0

Views: 640

Answers (1)

Greg A. Woods
Greg A. Woods

Reputation: 2792

A slightly simpler command would be to avoid an entirely unnecessary pipeline process and just use the one awk filter:

cvs -qn update | awk '$1 ~ /[MAU]/ {print $2}'

Upvotes: 1

Related Questions