Rsync for Tasker
More projects
An Android app providing Tasker plugin actions to allow running rsync over SSH.
Tasker is a very useful and widely used automation app for Android with a
plugin architecture that allows other apps (such as this one) to add extra
functionality.
This app provides the following actions for use within Tasker:
- Generate Private Key - Generates a private key to use for SSH authentication
- Get Public Key - Retrieves a public key from a previously generated private key
- rsync - Run an rsync command to synchronise files to or from the device
- dbclient - Run an SSH command non-interactively (experimental)
The packaged native binaries of Dropbear and rsync are my own builds
which I keep updated with new releases.
Reasons for requested permissions:
FOREGROUND_SERVICE
Run actions for more than a short time when triggered from older versions of
Tasker.
FOREGROUND_SERVICE_SPECIAL_USE
(Android 14+) Run actions for more than a short time when triggered from
older versions of Tasker.
INTERNET
Allow connecting to SSH servers (even if the SSH server is on your local
network Android prevents connections without this permission).
MANAGE_EXTERNAL_STORAGE
(Android 11+) To read or write the files on your device with rsync.
WRITE_EXTERNAL_STORAGE
(Android 10 and below) To read or write the files on your device with rsync.
POST_NOTIFICATIONS
Show a notification that a new version is available (if checking for updates
is enabled).
REQUEST_INSTALL_PACKAGES
Prompt to install an update after you have tapped on the update notification
and chosen ‘Download’.
Rsync for Tasker is free to use and open source, licensed under the terms of
the
GPL. You can browse or
download the source at the
GitHub repository.
Latest News
- Return a clear error message when a file access permission needs to be granted to the app to allow rsync to read or write a given path.
- Re-title and add some details after the update check toggle in both the Dropbear and rsync actions for clarity.
- Default the update check toggle to off if the app was installed from a store (as the store is likely to manage updates itself).
- Explain the reasons for all requested app permissions in both the readme and project homepage.
- Updated bundled Dropbear binaries to 2024.85.
- Updated bundled rsync binary to 3.3.0.
- Updated dependencies.
For full details and to download this release, see the
Rsync for Tasker page.
18 May 2024
- Return errors from actions instead of throwing exceptions for ‘expected’ problems.
- Removed timeout option from dbclient action and automatically set timeout 1 second before the action timeout in Tasker.
- Added automatic timeout functionality to the rsync action too.
- Added a message to the returned error when the dbclient or rsync actions reach their timeout.
- Updated targetSdk to 34 (Android 14).
- Updated dependencies.
For full details and to download this release, see the
Rsync for Tasker page.
03 March 2024