autovdirsyncer

command module
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 27, 2021 License: ISC Imports: 8 Imported by: 0

README

autovdirsyncer

autovdirsyncer is a wrapper to daemonise vdirsyncer.

It monitor your vdir collections and runs vdirsyncer:

  • After two seconds if a file is changed. ("active" runs)
  • Every fifteen minutes if no file has changed. ("passive" runs)

Active runs will be postponed by two seconds if you keep editing files. This is so that, if multiple events are happening at once (e.g.: you're copying a bunch of files), synchronisation will happen only after you're done.

Feel free to join the IRC channel: #pimutils on irc.libera.chat.

Caveats

  • Don't run vdirsyncer manually. It'll modify all your files, and autovdirsyncer will trigger another instance of vdirsyncer.
  • If you alter files continuously within two second intervals, vdirsyncer will not run. It'll run after the continuous editing happens. This should not be an issue for usual / desktop usage.
  • The location of collections is currently hardcoded to .local/share/calendars. This tool should likely ask vdirsyncer to enumerate its collections and use that as input.

Licence

autovdirsyncer is licensed under the ISC licence. See LICENCE for details.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL