|
|
|
@ -455,11 +455,12 @@ environment variable). The *fmt* string follows the definitions in
|
|
|
|
|
date and time. In addition, the following special character sequences are
|
|
|
|
|
also provided:
|
|
|
|
|
|
|
|
|
|
| Variable | Description |
|
|
|
|
|
|:------ |:---- |
|
|
|
|
|
| :basename: | Original filename without extension |
|
|
|
|
|
| :dirname: | Name of the directory holding the original file |
|
|
|
|
|
| :parentname: | Name of parent directory |
|
|
|
|
|
| Variable | Description |
|
|
|
|
|
|:------ |:---- |
|
|
|
|
|
| :basename: | Original filename without extension |
|
|
|
|
|
| :basesuffix: | Suffix in original filename, starts with first dot and ends before extension, e.g. PANO, MP, NIGHT added by Google Camera app |
|
|
|
|
|
| :dirname: | Name of the directory holding the original file |
|
|
|
|
|
| :parentname: | Name of parent directory |
|
|
|
|
|
|
|
|
|
|
The default *fmt* is %Y%m%d_%H%M%S
|
|
|
|
|
|
|
|
|
@ -491,6 +492,12 @@ exiv2.exe: File `./Stonehenge_16_Jul_2015.jpg' exists. [O]verwrite, [r]ename or
|
|
|
|
|
Renaming file to ./Stonehenge_16_Jul_2015_1.jpg
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
If the filename contains a suffix, which shall be included in new filename:
|
|
|
|
|
```
|
|
|
|
|
$ exiv2 --verbose --rename '%d_%b_%Y:basesuffix:' Stonehenge.PANO.jpg
|
|
|
|
|
File 1/1: Stonehenge.PANO.jpg
|
|
|
|
|
Renaming file to '16_Jul_2015.PANO'.jpg```
|
|
|
|
|
|
|
|
|
|
<div id="adjust_time">
|
|
|
|
|
|
|
|
|
|
### **-a** *time*, **--adjust** *time*
|
|
|
|
|