calvinmetcalf / copyfiles

copy files on the command line
MIT License
411 stars 52 forks source link

is it possible to exclude .js files without excluding .json files #108

Open joniba opened 2 years ago

joniba commented 2 years ago

Thanks for the great utility!

If I execute copyfiles ** -e *.js then both .js and .json files get excluded. The linux cp utility does not behave like this. To get a similar behavior with cp you would have to use *.js*. So is there any way with this utility to only ignore .js files and not .json files?