Snippets

How to remove .svn folders from a directory tree in one line:

find . -name ".svn" -type d -exec rm -rf {} \;

How to tar and gzip a folder in one line :

tar cvf - /home/ebs | gzip - > ebs.tar.gz 

Solaris One Liner :

http://www.unixguide.net/sun/sunoneliners.shtml

Leave a Reply

avatar
  Subscribe  
Notify of