To exclude foo as well, i’d try `(^(node_modules|foo))`. Reasoning: it may be using a regex and `(foo|bar)` matches either foo or bar. Not sure what ^ means here: with regexes it can mean either at start or negation. zmvs not the best documented tool, thats why i watched this. good vid.
Hey Ben. Enjoying the channel! On Linux you can do find . -name '*.css' -exec rename .css .scss {} \; This should work on OSX if you brew install "rename" The advantage to using find is that this command can be used to do a lot of tasks of this nature. Hope you keep making videos. I'm also on Neovim and Colemak. Fun times.
Thanks Ben! this saved me probably a couple hours of hook converting my projects to *.ts. Great stuff!
Great, it’s not the sort of thing you need often but when you need it 👍👍👍
To exclude foo as well, i’d try `(^(node_modules|foo))`. Reasoning: it may be using a regex and `(foo|bar)` matches either foo or bar. Not sure what ^ means here: with regexes it can mean either at start or negation. zmvs not the best documented tool, thats why i watched this. good vid.
Hey Ben. Enjoying the channel!
On Linux you can do
find . -name '*.css' -exec rename .css .scss {} \;
This should work on OSX if you brew install "rename"
The advantage to using find is that this command can be used to do a lot of tasks of this nature.
Hope you keep making videos. I'm also on Neovim and Colemak. Fun times.
Oooh. That’s handy. Just installed ‘fd’ so I imagine that will have similar functionality. Thanks