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!"