#!/bin/bash if [ ! "$1" ] then 1='.' fi echo "Processing $1" svn add $1 `svn st $1 | grep '^?.*' | tr -d '? ' | sort -n | tr ' ' ' '`
Automatically add all new files in the current dir.
Leave a Reply
You must be logged in to post a comment.
#!/bin/bash if [ ! "$1" ] then 1='.' fi echo "Processing $1" svn add $1 `svn st $1 | grep '^?.*' | tr -d '? ' | sort -n | tr ' ' ' '`
You must be logged in to post a comment.