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; done
Code language: PHP (php)
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; done
Code language: PHP (php)
Leave a Reply