Posted By

berkes on 12/22/07


Tagged

svn Bash utilities


Versions (?)

Who likes this?

2 people have marked this snippet as a favorite

koncept
mitry


Automatically remove all nonexsiting files in the current dir from svn


 / Published in: Bash
 

  1. #!/bin/bash
  2.  
  3. if [ ! "$1" ]
  4. then
  5. 1='.'
  6. fi
  7.  
  8. svn rm $1 `svn st $1 | grep '^!.*' | tr -d '! ' | tr '\n' ' ' | sort -n`

Report this snippet  

You need to login to post a comment.