Advertisement
metalx1000

Bulk Rename Files with Vim using vidir

Sep 28th, 2023 (edited)
1,205
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.18 KB | None | 0 0
  1. #install vidir
  2. sudo apt install moreutils
  3.  
  4. #set editor
  5. export EDITOR=nvim
  6. export EDITOR=vim
  7.  
  8. #create example files
  9. touch file_{00..10}.txt
  10. touch img_{00..10}.jpg
  11.  
  12. vidir
  13.  
  14.  
  15.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement