Hello
How can I exclude folders and all files containing special characters like # or _ or space?
You’ll need this to exclude all files with special characters
--exclude '*[#_ ]*'
And this to exclude all files within directories with special characters
--exclude '*[#_ ]*/**'
Untested!
1 Like