Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/edvinas01/sync
Super simple Rclone wrapper
https://github.com/edvinas01/sync
google-drive rclone
Last synced: 2 days ago
JSON representation
Super simple Rclone wrapper
- Host: GitHub
- URL: https://github.com/edvinas01/sync
- Owner: Edvinas01
- Created: 2021-11-02T11:18:44.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2024-10-04T14:05:38.000Z (3 months ago)
- Last Synced: 2024-11-03T13:42:16.748Z (about 2 months ago)
- Topics: google-drive, rclone
- Language: Shell
- Homepage:
- Size: 3.91 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# sync
[Rclone] wrapper which allows to conveniently pull and push files. The main purpose of this tool is to be a replacement for the horrible Google Drive client, however it should work with other storage providers as well.## Setup
- Make sure [Rclone] is installed and setup using `rclone config` (set the name of your remote to `remote` when configuring).
- Clone this repo.
- Run `setup.sh`.## Usage
Add paths which you'd like to be tracked into `sync-paths.txt`, for example:
```text
Documents/Work
Media/Wallpapers
Media/Music
```Check which files need to be updated locally:
```bash
sync pull
```Update files locally:
```bash
sync pull --apply
```Check which files need to be updated on the cloud:
```bash
sync push
```Update files on the cloud:
```bash
sync push --apply
```## Extras
If you're using [Git Bash] with Windows and want to automatically `sync` on startup, create `auto-sync.sh` file at `C:\Users\YOUR_USER\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup` (replace `YOUR_USER` with your username) with the following contents:
```bash
sync pull --apply
echo 'Sync complete...'
sleep 5
```[Rclone]: https://github.com/rclone/rclone
[Git Bash]: https://git-scm.com/downloads