Django69 Il ne reste plus grand chose sur le forum concernant drivesink mais j'ai trouvé ca comme script.
for anyone currently directly syncing amazon:/ and google:/ with rclone/drivesink with the script to get a new token, i've made a very simple loop
#!/bin/bash
for i in {1..48}
do
/usr/bin/python3 /where/is/drivesink
echo "loop $i"
/usr/bin/timeout 3540 rclone sync -v --transfers=20 amazon:/ google:/
mail -s "Upload $i $(date) " your email <<< 'Update !'
done
it refresh the token, start an upload, stop after 59minutes, refresh the token and so on for 48 times, and mail you at each loop if you have mailutils.
Je n'ai pas testé, je n'ai que 3To du coup je les récupère en manuel
Le lien pour récupérer drivesink
curl -O https://github.com/caseymrm/drivesink/blob/master/drivesink.py