Created
November 9, 2018 18:13
-
-
Save brandones/b2037f5d12338329dad26798bd6ec9ac to your computer and use it in GitHub Desktop.
Nautilus context menu sync with ODrive
This file contains 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
#!/bin/bash | |
# Put this file in ~/.local/share/nautilus/scripts/ | |
# Remember to `chmod +x` it | |
IFS=' | |
' | |
for file in ${NAUTILUS_SCRIPT_SELECTED_FILE_PATHS} | |
do | |
if [[ $file == *.cloud ]] || [[ $file == *.cloudf ]] | |
then | |
odrive sync "$file" | |
fi | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment