the kindle should have name-replacement built in.

I keep having to pirate books, hacking them to remote certain triggering names, and reuploading them.

maybe I should just write a script to automate this

I wouldn't have to pirate it but amazon wants to DRM all their books, even when I'm just here to rename one guy
It is pretty hilarious that I can't edit the book I own because the DRM thinks I'm trying to steal it, and the fix for this is simply to steal it and edit the stolen copy instead
Don't buy DRMed content, kids: just steal it instead, you'll have more ability to fold, spindle, and mutilate it, and you'll have it forever.
epubs are zips, btw. unzip them and you can easily edit their contents
@foone
Be careful rezipping them though. There's a particular way to do it and some ereaders are more anal about it than others.
@kirtai @foone yeah, when I tried to change the title of an epub book on my phone and ended up with a file my ebook reader (app) didn't want to open :(
(Thankfully it wasn't really important, just a bit disappointing after I remembered the whole thing about them being zip archives and felt really clever)

@Larymir @foone
If I remember right, there's one particular file that has to be the first one in the zip and it has to be uncompressed.

Don't worry though, it's one of those subtle gotcha's.