Last active
April 23, 2022 17:12
-
-
Save ph00lt0/5025f25d2e4f7e558862f2a81f0d37b8 to your computer and use it in GitHub Desktop.
Sync changes in cryptomator vaults to remote vault using _duck and fswatch
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fswatch -0 ~/vaults/ | xargs -0 -I {} -t sh -c 'f="{}"; duck --upload sftp://<hostname>/vaults`basename "${f}"` "${f}" -existing overwrite' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment