Jan Schulz
e3e18fe16a
Escape folder when calling sync from change listener
...
The old version would pass in an unescaped directory, which then got unescaped by the sync call.
In some cases it worked but resulted in foldername wold not matched reality (example: google-drive -> google/drive) and error out when checking if that folder exists.
2018-12-05 00:10:41 +01:00
psfloyd
b47dd70f35
Exclude symlinks from sync
2018-05-12 23:12:45 -03:00
psfloyd
d698d596d9
Can enable services systemd excaped
2017-12-08 00:23:17 -03:00
psfloyd
94bda77b1b
Removed debug line
2017-12-04 02:33:53 -03:00
psfloyd
70c5c64373
Fix for service files and script to work with directories with spaces in their names
2017-12-01 00:12:14 -03:00
Jan Schulz
d996989c29
Add user systemd units
...
The units can be used to automatically sync a folder in the users home dir
* every 3 minutes
* on local file changes (requires inotify-tools).
To enable the units for `~/google-drive/`:
```
systemctl --user enable grive-timer@google-drive.timer
systemctl --user start grive-timer@google-drive.timer
systemctl --user enable grive-changes@google-drive.service
systemctl --user start grive-changes@google-drive.service
```
The units can be enabled multiple times
2017-04-27 23:18:54 +02:00