copy SVN modified files only to another directory
ack, svn, unix, version-control
Solution
Assuming ack is like grep... you could do something like:
cp `svn st | ack '^M' | cut -b 8-` backup
I'd post this as a comment... but I don't know how to escape the backticks in comments...
Problem
I have a list of files in my current working copy that have been modified locally. There are about 50 files that have been changed. I can get a list of these files by doing this: ``` svn st | ack '^M' ``` Is there a way I can copy these files and only these files to another directory, which is called `backup`?