Skip to content

Automatically sync files with an Android device over ADB using rsync (no root required)

License

Notifications You must be signed in to change notification settings

elwint/adb-rsync-onconnect

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Automatically sync files with an Android device over ADB using rsync

Prerequisites

  • Rsync
  • Zenity (remove zenity commands in sync.sh if you don't want to use zenity)

Installation

WARNING: All files in the destination folder are deleted if they don't exists in the source folder. To prevent this, remove --delete in sync.sh

Connect device and run:

./install.sh /sdcard/<source> <destination>

E.g. ./install.sh /sdcard/DCIM/Camera/ ~/Pictures/Phone

Every time the device is connected, sync.sh will be automatically executed to synchronize the files.

Uninstallation

Remove the udev rule in /etc/udev/rules.d/

About

Automatically sync files with an Android device over ADB using rsync (no root required)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published