Skip to content

rexmv lets you quickly rename batches of files or directories based on regular expressions.

License

Notifications You must be signed in to change notification settings

kluzzebass/rexmv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

USAGE:

rexmv -m -r [-f] [items ...]

-m : regexp matching pattern (may include grouping parentheses).

-r : use $1, $2 and so on to reference grouping from the matching pattern.

-f : actually rename the items, instead of just dry running.

-v : show version.

Examples:

Make everything upper case:

rexmv -m '(.*)' -r '\U$1' *

Change extension from .mp4 to .mpeg4:

rexmv -m '.mp4$' -r '.mpeg4' *

Change '1of8' to 'S01E01', '2of8' to 'S01E02' and so on (useful for renaming tv show episodes):

rexmv -m '(\d+)of8' -r 'S01E0$1' *

About

rexmv lets you quickly rename batches of files or directories based on regular expressions.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages