Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

find exclude directories

find . -type d ( -path ./dir1 -o -path ./dir2 -o -path ./dir3 ) -prune -o -name '*.txt' -print
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #find #exclude #directories
ADD COMMENT
Topic
Name
6+2 =