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