Rename Machine 1.6.1

This program is designed to rename/cleaning filenames, adding titles (from a list) and provide specific tag insertion and moving files contained in multi directories to a single folder … lot of options available (regex, Posix character classes, case sensitive, keep between, extract, titling).

Last update 2021-04-02

Take a look here, H.F.M repositories for other useful linux softwares.

How it’s made

Functionalities

Some pictures and explanations

Single entry window.

This is the main screen.

Remove & Replace multiples patterns.

Add incremental numbers to file names.

The keep between window

Keep between.
Applied using posix character classes option. By this way, numeric values “00,01,02,03,…” will always matching for replacement or removing.

Using regular expression to replace pattern.
In this case, (\i) means to be case insensitive context, between parentheses, there is the pattern to find (upper and lower cases), the dot “.” means any single character, and “[[:digit:]]” for any single number “0-9” in posix character classes notation.

Subtraction pattern using posix Character classes.
Useful for series or audio files. The (1 entry) will be internally transformed into ([[:upper:]][[:upper:]][[:upper:]][[:upper:]][[:space:]][[:digit:]][[:digit:]]) full (2 character class compliant), using (3 strict mode)
Substract pattern

Adding Titles to filenames.
On upper left box, you can past titles list (from wikipedia for example), At bottom center you have your files, at top right box you got the result. As you can see, before each title you have “1-” a number and a dash, you only want to keep the line after the dash. So, you define “Separator” as -, the “Field” at 1 and a simple space “Before title”. I have added more entry to see some possibilities.
Adding Titles

How to compile

This operation indicate that externals data (Image/Icons) must be embedded into the executable file.

Os informations (build with)

Name Version / Info / Name
GOLANG V1.16.2 -> GO111MODULE=”off”, GOPROXY=”direct”
DISTRIB LinuxMint Xfce
VERSION 20
CODENAME ulyana
RELEASE #46-Ubuntu SMP Fri Jul 10 00:24:02 UTC 2020
UBUNTU_CODENAME focal
KERNEL 5.8.0-48-generic
HDWPLATFORM x86_64
GTK+ 3 3.24.20
GLIB 2 2.64.3
CAIRO 1.16.0
GtkSourceView 4.6.0
LiteIDE 37.4 qt5.x
Qt5 5.12.8 in /usr/lib/x86_64-linux-gnu

You got an issue ?