You are here: Home » miscellaneous » Subversion: moving group of files into new location

Subversion: moving group of files into new location

by David M. Doolin, PhD on September 28, 2008

(Reading time: < 1 minute)

Someone will undoubtedly show me a much easier way to do this, but it worked for me and svn not being able to operate on regular expressions is something that has annoyed me for a long time about svn:

$ for d in *_2007.pdf ; do            
> svn mv $d 2007
> done

Similar Posts:

Share and Enjoy:
  • Digg
  • StumbleUpon
  • Sphinn
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • TwitThis

Comments on this entry are closed.