4 ms·
One unix based utility that has saved me incredible amounts of time is 'vimv'.[1] You run vimv and you get your pwd, in the editor, and you can edit it like a
by rsync 10y ago
One unix based utility that has saved me incredible amounts of time is 'vimv'.[1]
You run vimv and you get your pwd, in the editor, and you can edit it like a text file. Then just quit and save and all of your filename changes get committed to that directory.
It's an extremely fast way to do a bunch of random and irregular edits to a big directory full of files.
[1] https://github.com/ivanmaeder/vimv https://github.com/ivanmaeder/vimv
- photon-torpedo 10y agoThis sounds similar to 'vidir', which is available in Debian/Ubuntu in the package 'moreutils'. Indeed very useful for editing large directories.
- agumonkey 10y agoOr wdired mode in GNU emacs
- deleted 10y ago[deleted]
- david-given 10y agoThat's amazing. I think I've been looking for this tool for... many, many years. Thanks!
- krylon 10y agoDito for CentOS. Wow, this is really cool! Wish I had known about this sooner!
- bartvk 10y agoInteresting. It's packaged for macOS, too. Install Homebrew via https://brew.sh/ https://brew.sh/ then type $ brew install moreutils