Rclone opens this way when Ubuntu starts.
Is there a way to see if Rclone is working, if it's synchronizing modified files, or if there are any errors... perhaps notifications (like notify-send)?
I also tried the command
mount....--allow-non-empty
but when I disconnect the computer from the network, the mounted folders disappear.
a)
If I put in $HOME/notifications/rClone-notify.sh
With this example found
#!/bin/bash
# Variables
SOURCE="/chemin/source"
DESTINATION="remote:chemin/destination"
OPTIONS="-avP" # Par exemple, -P pour afficher la progression
# Notification de début
notify-send "Rclone Sync" "Début de la synchronisation..."
# Exécution de rclone
if rclone sync $SOURCE $DESTINATION $OPTIONS; then
# Notification de succès
notify-send "Rclone Sync" "Synchronisation terminée avec succès ✅"
else
# Notification d'erreur
notify-send "Rclone Sync" "Échec de la synchronisation ❌"
fi
Is it functional?
What should be included in
b)
SOURCE="/chemin/source"
/home/%u/IsaricGdrive/Test ??
d)
What should be changed for the line (in Rclone.service)?
ExecStart=rclone mount Test: /home/%u/IsaricGdrive/Test --vfs-cache-mode writes