rtsname


rtsname - rename Exif image files to the time stamp base file name. The time stamp base filename is sparated 2 parts. The former is called `prefix'. It is bound from camera maker and model name. The later is digit string which decided time stamp. (ex. MX-200401021345.JPG) When the program founds same name, it add sub number to the tail of name. (ex. MX-200401021345-02.JPG) usage: rtsname [options] [files] option: -h help -d num debug level -p string prefix -l list prefixes -a skip built-in prefix assoc list -A file prefix assoc list definition file -f force -n no change, only show what file would renamed -s char prefix separator *undef* -t char prefix terminator '-' -u char subname separator '-' example: % rtsname -v -n *.JPG % rtsname -p image *.JPG % rtsname -a -A alist -s _ -t = -u : *.JPG

source of rtsname(C language).