In my project I frequently need to copy the files/folders which got changed between 2 SVN revisions.
I am able to get the list of these changed files/folders using below command:
svn diff -r START REVISION:END REVISION --summarize
Now I would like to copy the list returned by the above command to a specific server location for further operations on it.
Currently I am executing the copy command like this:
cp --parents file1.php, file2.php, upload/upload.php
My question is: Is there any single Linux command which will perform above 2 mentioned operations? (Directly copy the files which were returned by the SVN diff command.)
I have tried the Pipes operator for performing chain commands.
svn diff -r START REVISION:END REVISION --summarize | cp --parents
But it doesn't work.
I am sure that there is a way to combine both the operation using one single command, but I am not sure how to do that.