‘svn add’ one-liner

Simple one-liner that I use when I’ve lots of files to add to a subversion repository:

for FILETOADD in `svn stat | awk '{ print $2 }'`; do svn  add $FILETOADD; doneCode language: PHP (php)

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *