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!

Related Questions

Thunderbolt cable that only works as USB 3.1

2  Asked on December 6, 2021 by graphtheory92


Granting cron permission to control Finder

0  Asked on December 6, 2021 by mrfish


Left-align Safari Favorites labels

1  Asked on December 4, 2021


Mac Vanilla Menu Bar App – How can I move the icon around?

1  Asked on December 4, 2021 by samarth-kabbur


Iphone 7 wont turn on

1  Asked on December 4, 2021 by lexii-nicole


⌘ Command+ C doesnt work and I cant do an “E” by holding ⇧ Shift

1  Asked on December 3, 2021 by bruna-antqueviezc


How do I drag a text box in Preview?

1  Asked on December 1, 2021 by jice


Ask a Question

Get help from others!

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