Posted December 01, 2022
Linux rename commands to tidy up the filenames, if that's useful for anyone.
If you used wget to download, do this first -
rename 's/.gamekey[=\&A-Za-z0-9]*//' *
To get rid of the extra bits on the filename.
Then, all of these -
rename 's/_/ /' *
rename 's/issue//' *
rename 's/ vol/ vol /' *
rename 's/(^|[\s_-])([a-z])/$1\u$2/g' *
rename 's/Ad Afterdeath_Complete/AD - After Death/' *
rename 's/AlexAndAda Vol1_1420484117.cbz/Alex and Ada Vol 1.cbz/' *
rename 's/AlexAndAda Vol1_1420484117.pdf/Alex and Ada Vol 1 DUPE.pdf/' *
rename 's/AlexandAda/Alex and Ada/' *
rename 's/Autumnlands/The Autumnlands/' *
rename 's/Cursewords/Curse Words/' *
rename 's/Icecreamman/Ice Cream Man/' *
rename 's/Ihatefairyland/I Hate Fairyland/' *
rename 's/Lutherstrode/Luther Strode/' *
rename 's/Motorcrush/Motor Crush/' *
rename 's/_1420484117//' *
rename 's/Revival Vol 1_1398374447.pdf/Revival Vol 1 HQ.pdf/' *
rename 's/Revival Vol 1_Lores.pdf/Revival Vol 1.pdf/' *
rename 's/Revival Vol 1_Update.cbz/Revival Vol 1.cbz/' *
rename 's/_1398379699//' *
rename 's/_1398374447//' *
rename 's/_Opt.pdf/ LQ.pdf/' *
rename 's/_Optimized.pdf/ LQ.pdf/' *
rename 's/Savagedragon/Savage Dragon/' *
rename 's/Seaofstars Vol 1_Lostinthewildheavens/Sea of Stars Vol 1 - Lost In The Wild Heavens/' *
rename 's/SexCriminals Vol 1_1420484117.cbz/Sex Criminals Vol 1.cbz/' *
rename 's/SexCriminals Vol 1_1420484117.pdf/Sex Criminals Vol 1 HQ.pdf/' *
rename 's/Sexcriminals Vol 1_Optimized_1420484117.pdf/Sex Criminals Vol 1 LQ.pdf/' *
rename 's/Sexcriminals Vol 1.pdf/Sex Criminals Vol 1 LQ.pdf/' *
rename 's/Sexcriminals/Sex Criminals/' *
rename 's/Shirtlessbearfighter/Shirtless Bear Fighter/' *
rename 's/SuperDinosaur Vol 1.cbz/Super Dinosaur Vol 1.cbz/' *
rename 's/SuperDinosaur Vol 1_Ds.pdf/Super Dinosaur Vol 1 LQ.pdf/' *
rename 's/Superdinosaur Vol 1.pdf/Super Dinosaur Vol 1 HQ.pdf/' *
rename 's/Thedarkness/The Darkness/' *
Should make everything sensible file names - basically the store page names with punctuation removed for universal filenamey-ness.
This is using Debian-type default rename - there are two renames out there in distros and I don't know what others (or OSX) use so probably best to copy everything to a new directory first, just in case.
And sorry, I don't know how to turn it into windows-land.
If you used wget to download, do this first -
rename 's/.gamekey[=\&A-Za-z0-9]*//' *
To get rid of the extra bits on the filename.
Then, all of these -
rename 's/_/ /' *
rename 's/issue//' *
rename 's/ vol/ vol /' *
rename 's/(^|[\s_-])([a-z])/$1\u$2/g' *
rename 's/Ad Afterdeath_Complete/AD - After Death/' *
rename 's/AlexAndAda Vol1_1420484117.cbz/Alex and Ada Vol 1.cbz/' *
rename 's/AlexAndAda Vol1_1420484117.pdf/Alex and Ada Vol 1 DUPE.pdf/' *
rename 's/AlexandAda/Alex and Ada/' *
rename 's/Autumnlands/The Autumnlands/' *
rename 's/Cursewords/Curse Words/' *
rename 's/Icecreamman/Ice Cream Man/' *
rename 's/Ihatefairyland/I Hate Fairyland/' *
rename 's/Lutherstrode/Luther Strode/' *
rename 's/Motorcrush/Motor Crush/' *
rename 's/_1420484117//' *
rename 's/Revival Vol 1_1398374447.pdf/Revival Vol 1 HQ.pdf/' *
rename 's/Revival Vol 1_Lores.pdf/Revival Vol 1.pdf/' *
rename 's/Revival Vol 1_Update.cbz/Revival Vol 1.cbz/' *
rename 's/_1398379699//' *
rename 's/_1398374447//' *
rename 's/_Opt.pdf/ LQ.pdf/' *
rename 's/_Optimized.pdf/ LQ.pdf/' *
rename 's/Savagedragon/Savage Dragon/' *
rename 's/Seaofstars Vol 1_Lostinthewildheavens/Sea of Stars Vol 1 - Lost In The Wild Heavens/' *
rename 's/SexCriminals Vol 1_1420484117.cbz/Sex Criminals Vol 1.cbz/' *
rename 's/SexCriminals Vol 1_1420484117.pdf/Sex Criminals Vol 1 HQ.pdf/' *
rename 's/Sexcriminals Vol 1_Optimized_1420484117.pdf/Sex Criminals Vol 1 LQ.pdf/' *
rename 's/Sexcriminals Vol 1.pdf/Sex Criminals Vol 1 LQ.pdf/' *
rename 's/Sexcriminals/Sex Criminals/' *
rename 's/Shirtlessbearfighter/Shirtless Bear Fighter/' *
rename 's/SuperDinosaur Vol 1.cbz/Super Dinosaur Vol 1.cbz/' *
rename 's/SuperDinosaur Vol 1_Ds.pdf/Super Dinosaur Vol 1 LQ.pdf/' *
rename 's/Superdinosaur Vol 1.pdf/Super Dinosaur Vol 1 HQ.pdf/' *
rename 's/Thedarkness/The Darkness/' *
Should make everything sensible file names - basically the store page names with punctuation removed for universal filenamey-ness.
This is using Debian-type default rename - there are two renames out there in distros and I don't know what others (or OSX) use so probably best to copy everything to a new directory first, just in case.
And sorry, I don't know how to turn it into windows-land.