Prepend magic bytes to filenames #

with Marco Pontello's HdRen, a simple Python 2 script that adds file signatures to filenames, making it easy to spot imposters:

$ ls -1
1.mp3
2.mp3
3.mp3
$ hdren.py foo/
...
$ ls -1
'4D5A5A01=2.mp3'
'FFFB90C4=1.mp3'
'FFFB90C4=3.mp3'

/nix | May 07, 2023


Subscribe or visit the archives.