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 | |
|---|---|
| RnR | Securely rename multiple files and directories |
| F2 | Command-line batch renaming tool. Fast and safe to use. It's written in Go |
| vimv | Mass rename files using Vim |
| massren | Rename multiple files using a text editor |
| mmv | Rename multiple files with editor |
| nomino | Batch rename utility for developers |
| rename | Rename multiple files using Perl expressions |
| brename | Batch renaming safely |
| tempren | Template-based file renaming utility |
| edir | Utility to rename, remove, and copy filenames and directories |
| vidir | Edit of the contents of a directory in a text editor |
| renameutils | Five programs – qmv, qcp, imv, icp and deurlname |
| rename-cli | Rename files quickly |
| ren | Takes find-formatted lines via standard input, and batch renames them |
| renux | Regex, placeholders, and text transformations |
| moove | Manipulate file names and locations |
| Bren | Bulk file renaming software |
| brn2 | Fork of brn |
Read our verdict in the software roundup.
Explore our comprehensive directory of recommended free and open source software. Our carefully curated collection spans every major software category.This directory is part of our ongoing series of informative articles for Linux enthusiasts. It features hundreds of detailed reviews, along with open source alternatives to proprietary solutions from major corporations such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk. You’ll also find interesting projects to try, hardware coverage, free programming books and tutorials, and much more. Discovered a useful open source Linux program that we haven’t covered yet? Let us know by completing this form. |

