We Recommend

bash Cookbook: Solutions and Examples for bash Users bash Cookbook: Solutions and Examples for bash Users
bash Cookbook teaches shell scripting the way Unix masters practice the craft. It presents a variety of recipes and tricks for all levels of shell programmers so that anyone can become a proficient user of the most common Unix shell -- the bash shell -- and cygwin or other popular Unix emulation packages.


Posted By

koncept on 04/17/08


Tagged

svn Shell Bash unix cli find


Versions (?)


Find all files and directories in project excluding .svn


Published in: Bash 


Simple but useful.

  1. find . -type d \! \( -name '.svn' -prune \) -print # find exclusive to directories within current directory
  2. find . \! \( -name '.svn' -prune \) -print # list all items (files and dirs) in current directory

Report this snippet 

You need to login to post a comment.