View Single Post
Old 01-20-2025, 08:56 PM   #20
tomsem
Grand Sorcerer
tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.
 
Posts: 7,090
Karma: 28000001
Join Date: Apr 2009
Location: USA
Device: iPhone 15PM, Kindle Scribe, iPad mini 6, PocketBook InkPad Color 3
Calibre will not help (on Mac) if you want to copy .notebook or .sdr folders.

Of course there is open-source OpenMTP GUI for that.

For command line on Mac (maybe linux too) you can install mtplib which includes 'demonstration' command line tools that can list devices, copy files, etc.

Code:
mtp-albumart      mtp-files         mtp-newfolder     mtp-thumb
mtp-albums        mtp-filetree      mtp-newplaylist   mtp-tracks
mtp-connect       mtp-folders       mtp-playlists     mtp-trexist
mtp-delfile       mtp-format        mtp-reset
mtp-detect        mtp-getfile       mtp-sendfile
mtp-emptyfolders  mtp-getplaylist   mtp-sendtr
What I'm looking for is Python library to do MTP. There's one for 2.x but it does not work with Python 3. Of course calibre has one; if I get some time I might try to see if I can make a freestanding version of that.

That said, kudos for this tool!

Last edited by tomsem; 01-21-2025 at 01:55 PM.
tomsem is offline   Reply With Quote