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.
svn_del.sh `svn st | cut -d' ' -f7 | grep .sql`
Post a Comment