Is there an awk or perl line I can use in a bash script to help automate the addition of files to an svn repo?
When I use "svn status" in my directory:
It gives me a long list of files either preceeded by an M for "modified" or a question mark(?) for new files.
**Is there any way to add a line in a bash script that would extract only the filenames preceeded by the question mark?(new files)
Here is psuedo-what-I-want-to-do-o:
svn status >> status.log
FILES_TO_ADD= (INSERT MAGIC THAT EXTRACTS FILENAMES THAT NEED ADDING HERE!)
for file in $FILES_TO_ADD; do
svn add $file
svn commit -m "This is an awesome commit!"