Showing posts with label utility. Show all posts
Showing posts with label utility. Show all posts

Monday, January 13, 2014

How to clean up svn repo from ._* (dot underscore) files on mac


This is how I do that:

$ find . -name ".svn" -prune -o -name "._*" -exec svn del {} \;
$ svn ci






Tuesday, March 1, 2011

How to run process in background then logout

In linux, if you want to run a process in the background without stopping when you logout then you can do it with this command:

# nohup [program_name] [arguments] &

Don't forget the ampersand.

Friday, February 11, 2011

How to unix touch recursively

Since unix touch utility cannot operate recursively, so if you want to unix touch recursively:

# find . -exec touch {} \;