How to move files between Ubuntu and iPhone
I recently got an iPhone 6s. Is there a way to transfer files (music, photos, PDF, or really anything actually) between Ubuntu and the phone? It should not involve syncing via an internet service, as I may have the need to transfer large or private files. Also, I do not want to jailbreak the device.
There are a few results when searching for this on Google, but none seems very up to date.
Solution 1:
I don't know whether there's any difference between versions, but I can simply access the files of my iPhone 5s via the file manager when it's plugged over USB (using the AFC protocol).
I'm using iOS 9.2 beta, I have no idea whether it works on 9.1 or earlier. I can access the device from Nautilus' sidebar, if it doesn't show up, try navigating to the following address:
afc://<your iPhone's UDID>/
Also, most music players (at least Rythmbox, Banshee and Clementine) support music synchronization over AFC (Apple File Conduit).
EDIT: I just learned I can easily synchronize my pictures using tools like gThumb.
Solution 2:
Apple constantly breaks Linux applications' access to iPhones. As of 2019, the best way of uploading and downloading files is to use a 3rd party app on iOS. Apparently, the file you upload is only accessible by that 3rd app.
Phone Drive is a good app for this. First, take note of the IP address of your iPhone, then, when PhoneDrive is in the foreground, typing the IP address of the iPhone from a PC connected to the same local area network would give you a website where you can upload and download files. You can also use FTP protocol on the same iPhone IP address. Phone Drive supports playback of a lot of video and music formats.
https://itunes.apple.com/us/app/phone-drive-file-storage-sync/id431033044