thanks for the reply,
I can successfully use:
Code:
find $home_dir -depth ! -path '*\/.*"| grep -f include | grep -v -f exclude
which works great but I would like to control everything from a exclude file. So inside of the exclude file, I have attempted:
Code:
*\/.*
.*
/home/testuser/*\/.*
but without success. I am using this inside of a bash shell script and when I attempt to use:
Code:
find $home_dir -depth ! -path '*\/.*"| grep -f include | grep -v -f exclude
but my logging goes crazy thought is works well. I would like to control what I need to exclude via an exclusion file and in this case, the "exclude". My goal is to exclude all of the hidden directories from my search.