Created
November 21, 2025 12:36
-
-
Save bogorad/a2ab216d855c9b97484c166b81d77e21 to your computer and use it in GitHub Desktop.
convert epub to kepub and put into dropbox
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Change working directory | |
| Set-Location -Path "C:\Users\chuck\downloads" | |
| # Run kepubify | |
| & "kepubify.exe" --calibre --inplace . | |
| # dbxcli needs the full target path including the filename | |
| $targetDir = "/Apps/Kobo Cloud Sync" | |
| Get-ChildItem -Filter "*.kepub" -File | ForEach-Object { | |
| $targetPath = "$targetDir/$($_.Name)" | |
| Write-Host "Uploading $($_.Name) to $targetPath..." | |
| dbxcli put $_.Name $targetPath | |
| } | |
| # Remove-Item *.epub |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment