topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • August 18, 2018, 10:22 PM
  • Proudly celebrating 13 years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: N.A.N.Y. 2019: remv: Rename files (and directories) with regular expressions  (Read 83 times)

Tuxman

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 2,041
    • View Profile
    • Donate to Member
Just throwing together my other 2019 applications before writing new ones...

NANY 2019 Entry Information

Application Name remv
Version 1.0.1
Short Description A sane way to rename files/directories with a regular expression.
Supported OSes Any, as long as we have a C++17 compiler.
Web Page http://www.donationc...ndex.php?topic=44941
Download Link Attached in the "website" topic.
System Requirements
  • Binary: Windows.
  • Compile yourself: Any that has a new(ish) Clang compiler set.
Version History
  • 1.0.1  [2018-01-14]: remv deleted files. Oops.
  • 1.0.0  [2018-01-13]: initial release
Author whatever

Description
remv should solve my regular problem of having to recursively rename files according to a regex pattern.

Features
- Renames files and folders.
- Can simulate that as well.

Screenshots

(Sorry - attachments don't currently work.)

Usage
Installation
Unpack the .exe anywhere (or build one wherever you want).

Using the Application
USAGE:
        remv [COMMANDS]
        remv [OPTIONS] <regex> <replacement> [<startpath>]

 OPTIONS (any combination):
        -r      Recurse into subdirectories.
        -d      Also rename directories on the way.
        -s      Sets the start directory to the last parameter
                else, remv will start in '.'.
        -v      Verbose logging.
        -vv     Very verbose logging.
        -n      Dry run - don't modify anything just yet.

 COMMANDS:
        -V      Display the remv version and exit.
        -h      Display this help screen and exit.

 You can use $1, $2 etc. in your replacement strings for back-
 references.

Uninstallation
Delete the executable file. You might want to add its path to your %PATH% if you want easier access.

Tips
Don't.  ;D

Known Issues
It sucks!