Friday, July 29, 2011

The definitive svn export (copy) only modified files in Linux!

I've finally found the solution to export -copy- svn modified/add files.
I was searching for something that was very simple to do it, but I couldn't find anything!
Well, finally I created this simple command line solution:

$ svn status | cut -c9-99999 | cpio -pvdmu [path to copy]

How to use it
  1. Go to svn working directory
  2. Write and execute the comand
Warning
It does work before commit action only.

0 comments: