Home
Name Modified Size InfoDownloads / Week
rename 2002-05-22
README.en.txt 2018-11-22 3.7 kB
renamex-2.7.tar.bz2 2018-11-22 13.3 MB
renamex-2.7-setup.exe 2018-11-22 984.6 kB
renamex-2.5.tar.bz2 2017-04-13 10.1 MB
renamex-2.5-setup.exe 2017-04-13 1.0 MB
renamex-2.4.tar.gz 2016-08-10 11.4 MB
renamex-2.4-win32-bin.zip 2016-08-10 970.8 kB
renamex-2.4-setup.exe 2016-08-10 998.9 kB
renamex-2.4.lsm 2016-08-10 908 Bytes
renamex-2.3.tar.gz 2016-08-01 11.7 MB
renamex-2.3-win32-bin.zip 2016-08-01 934.4 kB
renamex-2.3-setup.exe 2016-08-01 999.6 kB
renamex-2.2.zip 2016-07-28 12.3 MB
renamex-2.2-win32-bin.zip 2016-07-28 933.9 kB
renamex-2.2-setup.exe 2016-07-28 997.5 kB
renamex-2.0.zip 2016-07-20 7.5 MB
renamex-2.0-win32-bin.zip 2016-07-20 854.4 kB
renamex-2.0-setup.exe 2016-07-20 916.1 kB
renamex-2.0.lsm 2016-07-20 895 Bytes
rename-1.99.2.tar.gz 2011-03-20 77.5 kB
Totals: 21 Items   76.0 MB 5
Rename Extension
----------------

Rename Extension is a tool to rename files. It can change, lowercase and 
uppercase a batch of files, or modify their ownership. It's a small tool 
written in C so it's quicker than most rename tools written in shell scripts.
Rename is powered by the extended regular expression for searching and 
substituting string patterns in the file names. It supports MS Windows and
Linux/Unix system with a portable GUI frontend.


Features
--------

 * substitue strings in file's name
 * search and substitue strings in file's name by regular expression
 * uppercase or lowercase file's name
 * support batch renaming
 * recursively processing directories and subdirectories
 * support to read the filename list from a file
 * safe mode: test before you go
 * support MS Windows and Linux/Unix system'
 * integrated a GUI frontend

Release Notes
-------------
Version 2.7:
 * Fixed the major problem in the GUI frontend that failed to process more
   than 7 files in a raw.
 * IUP updated to 3.21 to workaround the missing GTK icons.
 * Removed the support to libgtk3.

Version 2.5:
 * build system moved to autotool based autoconf/automake
 * Fixed the uneven vertical size of buttons in GTK3

Version 2.4:
 * Fixed the core dump when verbose level reach 7
 * Fixed the version error of libcsoup.h
 * Fixed the installer path error in Linux

Version 2.3:
 * Fixed the problem that Ctrl-A could not select-all in MS Windows.
 * Updated the build system to support GTK3

Version 2.2:
 * Fixed the bug that displaying ??? against UTF-8 Eastern Asia characters
   in MS Windows.
 * Updated the debug scheme so the tool works in MS Windows.
 
Version 2.1:
 * Upsourced to the recent version of IUP 3.19.1
 * Updated the icon and adapting the system fonts.

Version 2.0:
 * Programmed a GUI based on IUP for X-Window and MS Windows
 * Ported to Win32 API
 * Reviewed the original code and update to the new baseline


Install
-------

Download rename distribution then unpack it with tar -zxf, then make 
the default build which includes a GUI:

    make

Or make a command line only tool:

    SYSGUI=CFG_GUI_OFF make

In X Window with GTK2 and GTK3 installed, the rename extension tool will
pick GTK3 as default. It can be overrided by:

    USE_GTK2=1 make


BUGS reporting
--------------

Please report bugs to <xuming@users.sourceforge.net>


Examples
--------

renamex -l -R *
  To lowercase all files' names recursively.

renamex -u -s/abc/xyz/gi *.c
  Substitute all 'abc' substrings appeared in C  sources  files  with
  'xyz', ignoring the case, then uppercase the whole file name.

renamex -v -s/.c/.cpp/e *
  Find all files with the '.c' suffix in the current directory and change 
  them to '.cpp' suffix. Print the verbose information.

find . -name *.c > filename.lst
renamex -s/.c/.cpp/e -f filename.lst
  Find all files with the '.c' suffix under the current directory and change
  them to '.cpp' suffix by the list file.

renamex -s/abc/12345/bi *
  Read names from the 'filename.lst', find the last occurrence of 'abc'  
  and  replace it with '12345', ignoring the case.

renamex -s/^[A-Z].*file/nofile/r *
  The target substring starts with a capital letter, and ends with string 
  'file'. There are 0 or any numbers of characters between the capital letter
  and 'file'. The substring, if encountered in filenames, will be replaced
  with 'nofile'.
  
renamex -s/^[A-Z].+file/nofile/xg *
  Similar to above, except it uses extended regular expression, such as
  the '+' metacharacter, and replaces all matching strings with 'nofile'.

renamex -t -s/^[A-Z].+file/nofile/xg *
  Test mode only. Simulate the rename process but no files would be 
  actually changed.

Source: README.en.txt, updated 2018-11-22