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?
Leo
2
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
Actually, from a quick test it seems that files larger than ~5mb are not being renamed. Only a dot is added. I am using
Rename PATTERN="*.*" TO="*.{md5sum}.*" AUTORENAME FILEINFO
Leo
6
You might need to increase Preferences / Miscellaneous / Advanced: max_md5_file_size (or set it to zero which disables the limit entirely).