I'm trying to organize my ZX Spectrum game images on SD card for my Retroleum SMART Card adapter. Long file names are supported, and VFAT Long File Names (LFNs) cause too many clashes if I run through the list automatically. Is there a generally accepted set of heuristics for shortening file names to 8.3 with as few collisions as possible?
Long file name 8.3 ========================================================= ============ Bomb Jack (1986)(Elite Systems).sna → BOMBJACK.SNA Cybernoid II - The Revenge (1988)(Hewson Consultants).sna → CYBERND2.SNA Football Manager 2 (1988)(Addictive Games).sna → FOOTMAN2.SNA Manic Miner (1983)(Bug-Byte Software).sna → MANICMIN.SNA Pac-Mania (1988)(Grandslam Entertainments).sna → PACMANIA.SNA Sentinel, The (1987)(Firebird Software).sna → SENTINEL.SNA Spy vs Spy (1985)(Beyond Software).sna → SPYVSSPY.SNA Tapper (1985)(U.S. Gold).sna → TAPPER.SNA Technician Ted (1984)(Hewson Consultants).sna → TECHTED.SNA Tetris (1988)(Mirrorsoft).sna → TETRIS.SNA
I have access and knowledge of the typical Unix shell tools to rename the files.