Blog | tag: Unix
Thursday, 21. january 2010.
Find files larger than X and delete them in Mac OS/Unix terminal
Another terminal oneliner I've just used to delete files larger than 10mb.
Monday, 14. december 2009.
Synchronize two folders on a Mac with Automator and Rsync
Power of Automator and Unix combined
I really miss some good Automator tutorials online. It's such a great and I guess underrated and underused tool. Here I'll show you how to combine it with rsync to easily synchronise two folders.
Monday, 14. december 2009.
Synchronize two folders on a Mac and other Unix Systems with Rsync
From terminal
One of the great things with Mac OS X is that you have many of the cool tools from UNIX world. One of them is definitely Rsync. I'll show you how to use it to synchronise files from of two different folders from terminal and using mighty automator.
Sunday, 13. december 2009.
Add all new files and folders to subversion with one line in terminal
This is basicly simple oneliner:
svn status | grep "^?" | awk '{print $2}' | xargs svn add
I'll try to explain it...
bananica.com | Branko Jevtić's piece of web
RSS feed
Recent posts
- Thursday, 21. january 2010. Find files larger than X and delete them in Mac OS/Unix terminal
- Tuesday, 15. december 2009. Bananica.com - Finally!
- Monday, 14. december 2009. MySQL Find and Replace with helper tool that generates SQL for you
- Monday, 14. december 2009. Synchronize two folders on a Mac with Automator and Rsync
- Monday, 14. december 2009. Synchronize two folders on a Mac and other Unix Systems with Rsync
- Sunday, 13. december 2009. Add all new files and folders to subversion with one line in terminal




Recent comments
I managed to compile several snippets from the net and came up with this:
svn status | grep "^?" | awk '{$1="";$0=substr($0,2)}1' | sed -e "s,[^.],\'&," -e "s,\$,\'," | xargs svn add
Phew! Works in Snow Leopard.