Batch-Convert .EPUB to .MOBI with a PowerShell One-Liner

  1. First, download KindleGen from Amazon, and ensure that it’s located somewhere in your path
  2. Open a PowerShell window, navigate to the folder that contains your .EPUB files, and run the following command:
Get-ChildItem *.epub | ForEach-Object {&kindlegen.exe $_.Name}

Or, using aliases to save some typing:

gci *.epub | foreach {&kindlegen.exe $_.Name}

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s