I made this script but it doesn't work as well as I want it to. Can someone help make it better?
I want to make sure the script only renames the selected files only, and also to make sure it includes the correct modified date information and hash information correctly:
Code: Select all
// Select all files
sel f;
// Rename each file with the current folder name, a [space], and followed by a CRC32 string.
foreach($entry, "<get SelectedItemsPathNames>", "<crlf>") {
rename b, "<curfolder> ". formatdate(<datem>, "yyyymmddhhmm "). hash(crc32, $entry, 1), , $entry;
}
XYplorer Beta Club