Batch Renamers

edir – command line utility to rename, remove, and copy filenames and directories

edir is a command line utility to rename, remove, and copy filenames and directories using your text editor. Run it in the current directory and edir will open your editor on a list of files and directories in that directory.

Each item in the directory will appear on its own numbered line. These numbers are how edir keeps track of what items are changed. Delete lines to remove files/directories, edit lines to rename files/directories, or duplicate line numbers to copy files/directories.

You can also switch pairs of numbers to swap files or directories. If run from within a Git repository, edir will use Git to rename or delete tracked files/directories.

edir unashamedly mimics the functionality of the vidir utility from moreutils but seeks to improve it by automatically using git mv instead of mv and git rm instead of rm for tracked files when invoked within a Git repository. edir adds a trailing slash to visually distinguish between files and directories whereas vidir shows them in the same way.

Website: github.com/bulletmark/edir
Support:
Developer: Mark Blakeney
License: Open Source

edir is written in Python. Learn Python with our recommended free books and free tutorials.


Related Software

Console Batch Renamers
RnRSecurely rename multiple files and directories
F2Command-line batch renaming tool. Fast and safe to use. It's written in Go
vimvMass rename files using Vim
massrenRename multiple files using a text editor
mmvRename multiple files with editor
nominoBatch rename utility for developers
renameRename multiple files using Perl expressions
brenameBatch renaming safely
temprenTemplate-based file renaming utility
edirUtility to rename, remove, and copy filenames and directories
vidirEdit of the contents of a directory in a text editor
renameutilsFive programs – qmv, qcp, imv, icp and deurlname
rename-cliRename files quickly
renTakes find-formatted lines via standard input, and batch renames them
renuxRegex, placeholders, and text transformations
mooveManipulate file names and locations
BrenBulk file renaming software
regnameMass renamer utility with a text user-interface
pipe-renameEdit filenames using your preferred text editor
RenamerFlexible and extensible through plugins
brn2Fork of brn
edmvBulk rename files using your preferred text editor

Read our verdict in the software roundup.


Best Free and Open Source Software LinuxLinks helps you discover the best free and open source software for Linux. Explore our extensive collection of recommended applications, including alternatives to popular proprietary software.

We also publish software reviews, Linux tutorials, hardware reviews, free programming books and articles covering the wider open source community. Browse our Linux resources to discover more.

Know a useful free and open source Linux application we haven't covered? Suggest a program for inclusion.

Has your software been featured on LinuxLinks? Display one of our Featured on LinuxLinks badges on your website or GitHub README.
Subscribe

Please read our Comment Policy before commenting.

Notify of
guest
0 Comments
Oldest
Newest Most Voted