Skip to content

rdavid/renamr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

74 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 2.6 or later. If you do not have the appropriate version on your platform, refer to Installing Ruby.

Utilize this command for installing the package:

gem install renamr

Updating

Utilize this command for updating the package:

gem update renamr

Usage

renamr [options]
  -a, --act          Real renaming.
  -r, --rec          Passes recursively.
  -l, --lim          Limits name length.
  -m, --mod          Prepends modification time.
  -d, --dir dir      Directory to rename.
  -s, --src src      A string to substitute.
  -t, --dst dst      A string to replace to.
  -w, --wid wid      Width of the table.
  -p, --pre str,beg  A string to prepend to started from beg.
  -c, --cut pos,len  Removes len symbols from pos.
  -v, --version      Shows version.

Example

renamr -d <source>

It renames all files in source by default pattern: 26 English letters, 10 numbers, minus for spaces and other symbols.

License

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

Releases

No releases published

Packages

No packages published

Languages