Multi Commander > Support and Feedback

bug of multi-rename extension

(1/2) > >>

gzycy:
multi-rename is unable to generate filename with some tag.
repro step:
1.in multi-rename ,click < button on the right of filename input box
2.choose plugin and more
3. select extended last modified
4.click insert
5.back in multi-rename.the new filename column should show like "data2012xxxx",that is ,org name followed by file modified date.but currently ,the file name doesn't change.

many of other tags don't also work ,i have try most of date-relate tag,none of them works.

Mathias (Author):
This is fixed in the latest beta (build 1190)

gzycy:
yes ,date can be retrieved in 1190.
but date string retrieve is formated to "2012/09/21 13:35:24",this makes file name invalud(because of / and : letter).
still unable to rename with tool.

i can change my system  date format to yyyy-mm-dd and retrieve substring 1 to 10 of date string.but this is too complex.

Jungle:
gzycy
You can also enable Substring in 'Plugin and More' dialog and add several patterns to rename template, e.g.


--- Code: ---[N]_[?ExtendedProp.datemodify,1,4]_[?ExtendedProp.datemodify,6,7]_[?ExtendedProp.datemodify,9,10]
--- End code ---

and then save the profile.

Mathias (Author):

--- Quote from: gzycy on September 21, 2012, 07:35:09 ---yes ,date can be retrieved in 1190.
but date string retrieve is formated to "2012/09/21 13:35:24",this makes file name invalud(because of / and : letter).
still unable to rename with tool.

i can change my system  date format to yyyy-mm-dd and retrieve substring 1 to 10 of date string.but this is too complex.

--- End quote ---
You can use the 'Search and Replace' to the right in the dialog to remove/replace invalid chars.
For example tell it to replace : with nothing will remove all of them, and you can replace / with -

But there is also a new thing.. You can define a date and time format to use in the tag.
[?ExtendedProp.datemodify-{<dateformat>|<timeformat>}]

examples

--- Code: ---[?ExtendedProp.datemodify-{yyyy-MM-dd|HHmmss}]
[?ExtendedProp.datemodify-{yyyy-MM-dd|HHmmss},1,5]

// Only show time , Empty date format.. do not forget the | separator before the time format.
[?ExtendedProp.datemodify-{|HHmmss}]

// Only show date
[?ExtendedProp.datemodify-{yyyy-MM-dd}]
--- End code ---

Date Formatting
Time Formatting


Navigation

[0] Message Index

[#] Next page

Go to full version