Add all new files to Subversion
svn st | grep "^?" | awk -F " " '{print $2}' | xargs svn add
Can be modified to do a svn delete on files you accidentally rm -rf'ed:
svn st | grep "^!" | awk -F " " '{print $2}' | xargs svn delete
2784 users tagging and storing useful source code snippets
Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world (or not, you can keep them private!)
svn st | grep "^?" | awk -F " " '{print $2}' | xargs svn add
svn st | grep "^!" | awk -F " " '{print $2}' | xargs svn delete
for i in `svn st | grep ? | awk -F " " '{print $2}'`; do svn add $i; done
cat access_log | awk '{sum += $10} END {print int(sum/1024/1024),"MB"}' zcat access_log.something.gz | awk '{sum += $10} END {print int(sum/1024/1024),"MB"}'
ps axu | grep user | kill -9 `awk �{print $2}�`
cd /usr/local/scratch/ mkdir junk find /var/spool/postfix -exec grep "somediscernible-feature.com" '{}' \; | awk '{print($3)}' | xargs -J X mv X ./junk/
Binary file /var/spool/postfix/active/D/D8832E38 matches Binary file /var/spool/postfix/active/D/D78EC1C72 matches Binary file /var/spool/postfix/active/D/D593D279D matches Binary file /var/spool/postfix/active/D/D0EB32833 matches
/var/spool/postfix/active/D/D8832E38 /var/spool/postfix/active/D/D78EC1C72 /var/spool/postfix/active/D/D593D279D /var/spool/postfix/active/D/D0EB32833