Micheal
Micheal

Reputation: 2322

copy contents of cvs diff in a file

Can I copy results of a cvs diff in a file, For example I want to do something like

cp cvs diff /test/diff.txt

I dont know if I can do something like that

Upvotes: 1

Views: 263

Answers (1)

Asaph
Asaph

Reputation: 162801

You can use redirection to save the output of any command to a file. Try this:

cvs diff > /test/diff.txt

Upvotes: 4

Related Questions