_____ _ _ _____ _ _ _____ | __|_____ ___| | | | __|_| |___ | __ |___ ___ ___ _____ ___ ___ |__ | | .'| | | | __| | | -_| | -| -_| | .'| | -_| _| |_____|_|_|_|__,|_|_| |__| |_|_|___| |__|__|___|_|_|__,|_|_|_|___|_|
Small File Renamer is an application for renaming files and directories.
Program works in GNU/Linux.
File names should be in unicode format.
It was originally made to work with Midnight Commander but it may be used
separately or with some other program.
Version: 1.2.3 (last update: 18.02.2020)
Program may work with previous versions, I just wrote on which I was compiling this program and there were no problems.
Small File Renamer may be installed from program package or from software repository.
Package version contains official program release with source code, configuration and build scripts.
Software repositories contains fresh, up to date program code, yet it still may be less stable than package version.
Program package can be downloaded from download section at program workspace:
Arch linux package in AUR:
Downloading source code from GIT or SVN:
git clone https://git.savannah.nongnu.org/git/small-file-renamer.git
svn co svn://svn.savannah.nongnu.org/small-file-renamer/trunk
Software repositories does not contain configure and build scripts, user must have autotools installed and run autogen.sh to link appropriate scripts.Compiling program - go to source code directory and type:
./configure make make installAlthough I suggest to configure and compile with more detailed options described below.
./configure CC="gcc" CFLAGS="-march=native -O2 -pipe -std=gnu11"or with CLANG
./configure CC="clang" CFLAGS="-march=native -O2 -pipe -std=gnu11"It disables the standard -g option which produces debugging information needed for gdb and enlarges the output file,
CC="gcc" sets the C compiler to gcc, CC="clang" sets the C compiler to clang, -march=native enables all instruction subsets supported by the local machine, -O2 sets the code optimization to level 2, -pipe use pipes rather than temporary files for communication between the various stages of compilation, -std=gnu11 sets the C standard to C11 with GNU extensions.
File names should be passed to program as arguments, example of use:
sfrename filename1.ext filename2.ext
Note for i3 window manager users:
Add this line to i3 config file to show program window as separate (floating) window:
for_window [instance="sfrename"] floating enable
I made this program to use with Midnight Commander to rename files and directories.
To use it in MC you can make a menu entry, that will run this program with selected files and directories.
MC menu entries:
+ ! t t R Rename file sfrename %f + t t R Rename files sfrename %t
Such entries in Midnight Commander menu file, allows to rename files by selecting them, pressing 'F2' and in menu the 'R' key, selected files and dirs will be passed to program in command line as program arguments.
In case of problems with the program, please contact me: firstname.lastname@example.org
To check out my other apps visit: http://init6.pomorze.pl/