View Full Version : [all variants] find files or folders excluding certain directories
May 20th, 2008, 04:13 PM
is is possible to search for directories or files but exclude certain directories? I am looking for rsync config files on my rsync server but i also have a lot of other directories that are named rsync that store the actual backups. This is using the find command.
May 20th, 2008, 04:36 PM
append -prune to the command
May 20th, 2008, 04:45 PM
I suspect you are looking for the grep command. Look at this for help. http://www.scit.wlv.ac.uk/cgi-bin/mansec?1+grep
May 20th, 2008, 04:52 PM
Thank you, this really helps. I figured out what the issue is.
Powered by vBulletin® Version 4.2.2 Copyright © 2014 vBulletin Solutions, Inc. All rights reserved.