You know these fancy #Vim & #CLI tools that allow you to edit a list of file nam...

@scy@chaos.social

You know these fancy #Vim & #CLI tools that allow you to edit a list of file names in your editor of choice, and then batch-rename these files accordingly?

For example, vidir (in moreutils), Vifm, qmv (in renameutils), and edir all allow you to do that.

But what if you don't have any of these available, or don't want to use them?

1. use `:r !ls` to load the list of files
2. make each line a mv command, e.g. using :%s/.*/mv & \L&/
3. run these commands using `:w !sh`

vim.fandom.com/wiki/Bulk_renam