Help with rename, using [file information field]

Hello, I am trying to create a button that uses a 'file information field' to rename a file, eg. attaching its md5 checksum at the end. I tried

@nodeselect
Rename PATTERN="" TO="{md5sum}" AUTORENAME

but the above adds "{md5sum}" literally. Any idea on how to get the actual checksum added?

You need to add the FILEINFO argument:

@nodeselect Rename PATTERN="*" TO="*{md5sum}" AUTORENAME FILEINFO

Or this to retain the file extensions:

Rename PATTERN="*.*" TO="*{md5sum}.*" AUTORENAME FILEINFO 

Of course, thanks a lot

Actually, from a quick test it seems that files larger than ~5mb are not being renamed. Only a dot is added. :frowning: I am using

Rename PATTERN="*.*" TO="*.{md5sum}.*" AUTORENAME FILEINFO

You might need to increase Preferences / Miscellaneous / Advanced: max_md5_file_size (or set it to zero which disables the limit entirely).

Ok, that did it!