Tuesday, August 18, 2026

svn add everything that starts with ?

The white space always gets me. SVN to add all unversioned files:

svn status | sed -n 's/^?       //p' | while IFS= read -r f; do svn add -- "$f"; done