Did you discard the exclusion of files that i mentioned in the OP ?
You seem to have only mentioned exclusion of directory while i wanted exclusion of files (which works in the OP command) along with the directories.
Kindly help.
---------- Post updated at 03:36 PM ---------- Previous update was at 03:34 PM ----------
I am not able to understand your suggestion so as to make changes to include the directories along with the files. Can you tweak the command in the OP to include directories is what i m seeking help for.
Please help.
---------- Post updated at 03:36 PM ---------- Previous update was at 03:36 PM ----------
I am not able to understand your suggestion so as to make changes to include the directories along with the files. Can you tweak the command in the OP to include directories is what i m seeking help for.
The -prune primary in find is ignored when the current file is not a directory. So you can delete the text shown in red above and get the same results.
I am very sorry that we did NOT serve the turnkey solution on a silver plate but assumed you could apply some of your own creativity to follow the path indicated to come to a solution of your own. Esp. when MadeInGermany indicated where to continue, which is: add the rest of your find command from before.