Skip to content

rdavid/renamr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

244 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Renamr

About

renamr organizes file and directory names.

Installation

The tool is designed to operate on macOS, GNU/Linux, Windows, and Unix-like operating systems. It is packaged as a Gem and requires Ruby version 3.2 or later. If you do not have the appropriate version on your platform, refer to Installing Ruby.

Install the gem with:

gem install renamr

Updating

Update the gem with:

gem update renamr

Usage

renamr [options]
  -a, --act              Performs actual renaming.
  -c, --cut pos,len      Removes len characters from pos.
  -d, --dir dir          Directory to process.
  -l, --lim              Limits file name length.
  -m, --mod              Prepends file modification time.
  -p, --prepend str,beg  Prepends a string.
  -r, --rec              Processes directories recursively.
  -s, --src src          String to replace.
  -t, --dst dst          Replacement string.
  -v, --version          Shows the version.
  -w, --wid wid          Output table width.

Example

renamr -d <source>

It renames all files in source using the default character set: 26 English letters, 10 digits, and hyphens for spaces and other symbols.

License

renamr is copyright David Rabkin and available under a Zero-Clause BSD license.

About

File names organizer.

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages