环境:
ipad mini 2, ios 12.4.1
fedora 29 workstation x86_64
需要的工具:
dnf install libimobiledevice
dnf install libimobiledevice-utils
dnf install ifuse
直接用 usb 线连接电脑。需要在 ipad 屏幕弹出的对话框上对电脑进行 信任
。如果有锁屏密码也要注意输入密码才能正常被电脑识别。
连接后,可以使用 ideviceinfo
命令查看 ipad 信息.
ipad 挂载在如下类似位置, /run/user/1000/gvfs/afc\:host\=ID\,port\=PORT/
示例:
连接后,显示 ipad 上部分可传输文件的 app 的内容
ipad 上的相册目录
ipad 上 Microsoft Word app 的文档目录
Ref:
[1] https://itectec.com/ubuntu/ubuntu-how-to-copy-existing-movie-files-on-ipad-to-watch/
[2] https://askubuntu.com/questions/1228534/unhandled-apple-file-control-error1-while-trying-to-copy-photos