Code Snippets/awk

From Yossi Farjoun's Homepage
Jump to: navigation, search

Useful snippets of code using awk

svn st |  awk '/^\?/ {print $2}'

Finds those files that are unknown to svn and prints out their names. You can then pipe this output to add them to svn...

Personal tools