--exclude with quoted glob does not seem to work
See original GitHub issueI have a npm script like:
"copy:resources": "copyup --exclude \"**/*.ts\" \"./src/**/*\" build",
It copies all files, including the *.ts
files. I don’t want the *.ts
files to be copied.
I’m running on OSX and if understand correctly I should quote the glob.
Issue Analytics
- State:
- Created 5 years ago
- Comments:5 (1 by maintainers)
Top Results From Across the Web
Exclusion globbing (`-g '!expr'`) does not work properly with ...
When trying to exclude a given folder from my search paths with the globbing option -g , it fails if the expression string...
Read more >Begin a glob with an exclude pattern - Unix StackExchange
If used with the command compgen the call would be, e.g.: compgen -G "!(foo*)". You need quotes to pass the pattern to the...
Read more >Exclude subfolders with glob - python - Stack Overflow
I want to start by pointing out that this kind of (recurring) symlinking is a sign of bad design. Any fix would be...
Read more >SC2086 – Double quote to prevent globbing and word splitting.
Quoting variables prevents word splitting and glob expansion, and prevents the script from breaking when input contains spaces, line feeds, glob characters and ......
Read more >Documentation: 15: pg_dump - PostgreSQL
When -e is specified, pg_dump makes no attempt to dump any other database objects ... If -N appears without -n , then schemas...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
your glob needs to be more explicit, I ran in to this myself.
Facing the same issue?