svn_del.sh `svn st | cut -d' ' -f7 | grep .sql`
Thursday, December 6, 2007
Unix command fun ...
I try to use the Unix commands whenever possible to keep my knowledge of them fresh. Today, I needed to remove quite a few files from an SVN repository. I moved them using mv instead of svn mv. So I used the following to capture the output from the status command, break it up and filter and then run through a script I wrote to perform the svn del.
Posted by Thomas W. Shelton at 10:29 PM