CLI tool to sync to iOS apps using File Sharing
Find a file
snow flurry 9ef73679e7 doc: remove iasync.1.md
It's not very well-formatted imo. I should eventually move the html
version to an actual webpage.
2025-01-22 20:53:40 -08:00
doc doc: remove iasync.1.md 2025-01-22 20:53:40 -08:00
src Initial commit 2025-01-22 20:27:19 -08:00
subprojects Initial commit 2025-01-22 20:27:19 -08:00
tests Initial commit 2025-01-22 20:27:19 -08:00
.clang-format Initial commit 2025-01-22 20:27:19 -08:00
.gitignore Initial commit 2025-01-22 20:27:19 -08:00
config.h.meson Initial commit 2025-01-22 20:27:19 -08:00
LICENSE Initial commit 2025-01-22 20:27:19 -08:00
meson.build Initial commit 2025-01-22 20:27:19 -08:00
NOTICES Initial commit 2025-01-22 20:27:19 -08:00
README.md README: forgot to add the links, oops 2025-01-22 20:49:42 -08:00

iasync - sync files to iOS app folders

iasync uses libimobiledevice to sync a local directory tree with an iOS device. This is intended as a replacement to pairing ifuse and rsync, where users might have issues with fuse (or be unable to use fuse at all).

Building

This project requires the following:

To build in the directory build, run:

meson setup build/
ninja -C build/
# To install:
ninja -C build/ install

Usage

See the manpage for more details (man 1 iasync).

Primarily, if you have more than one iOS device connected to your system, you'll need the name or UDID of your device:

$ iasync lsdevs
Name        Conn.      UDID
My Iphone   USB        00000000-0000000

Then, get the Bundle ID for the app you want to sync:

$ iasync lsapps
App Name   Bundle ID
[...]
Doppler    co.brushedtype.doppler-ios

To sync a directory tree to the app, you could run:

$ iasync sync ~/Music co.brushedtype.doppler-ios

If you want to delete files that exist on the device but not locally, use the --allow-delete flag:

$ iasync sync --allow-delete ~/Music co.brushedtype.doppler-ios

License

iasync is provided under the BSD 3-Clause license. For more information, please see the LICENSE file.

Multiple functions (idevfs_canonpath() and idevfs_mkpath()) use code from NetBSD. These licenses are included in the NOTICES file.