How to bulk rename files using wildcards?

It was a typo. The last single quote should have come after the closing accolade, while it was in front of it. I’ve corrected it now, so now it’ll work as intended. :wink:

1 Like

It’s not an uncommon practice to append a CRC32 checksum to the end of a filename, rather than include a separate text file with a listing of MD5 or SHA hashes.

  1. Short (only 8 characters)
  2. Doesn’t require a separate file
  3. Easy to use (no need for a separate reference, since the checksum is in the filename itself)
  4. While collisions are possible with CRC32, unless there’s a real security need to avoid this, it’s “good enough” for personal usage to affirm the file is in its original state

In fact, you’ll see this done often with very large files, such as anime episodes.

$ rhash --crc32 "Crazy Horse Redemption - S01E07 (Dual-Audio, soft-subs)[2CBA0A61].mkv"

$ "Crazy Horse Redemption - S01E07 (Dual-Audio, soft-subs)[2CBA0A61].mkv" 2CBA0A61

$ "Securely wipe entire system before the feds knock your door down?" Y/N

$ y

$ 

At a glance, I can tell it passed. :point_up_2:

1 Like

I didn’t actually know what this little section was for, now I do, thanks for informing me :slight_smile:

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.