Copy file to iPhone app from Mac OS terminal

Ask Different Asked by Alex Craft on August 29, 2020

Is there a way to copy a file from macOS into an iPhone app via Terminal? For example copy movie from Mac OS into the VLC Player App on iPhone.

Like iphone and mac os connected via cable, you run copy /macos/ /iphone/vlc and it’s all done.

Not share, copy, so it will be physically stored on iPhone and accessible anytime without internet.
I would prefer a solution through command line so as to be able to script it.

One Answer

The feature you are looking for is called iOS File Sharing. You can copy files from macOS into an iOS app installed on iPhone/iPad if the iOS app supports File Sharing.

To copy files into an iOS app that supports File Sharing, you'd need to connect your iOS device to your Mac, and access the device via iTunes app (macOS Mojave and earlier) or Finder app (macOS Catalina and later)

Refer to the linked Apple Support document for detailed instructions:

  1. macOS Mojave 10.14 and earlier:

  2. macOS Catalina 10.15 and later:

Answered by Nimesh Neema on August 29, 2020

Add your own answers!

Ask a Question

Get help from others!

© 2024 All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP