Remove sync-drive script
Signed-off-by: Severin Kaderli <severin@kaderli.dev>
This commit is contained in:
parent
2dc8d89e25
commit
5034ae7a64
3 changed files with 0 additions and 25 deletions
|
@ -13,7 +13,6 @@ gksu
|
||||||
godot-mono-bin
|
godot-mono-bin
|
||||||
google-chrome-beta
|
google-chrome-beta
|
||||||
gotop-bin
|
gotop-bin
|
||||||
grive-git
|
|
||||||
ibus-qt
|
ibus-qt
|
||||||
intellij-idea-ultimate-edition
|
intellij-idea-ultimate-edition
|
||||||
java-openjfx-bin
|
java-openjfx-bin
|
||||||
|
|
|
@ -9,6 +9,3 @@
|
||||||
#
|
#
|
||||||
# USAGE:
|
# USAGE:
|
||||||
# This file is loaded on boot by crontab.
|
# This file is loaded on boot by crontab.
|
||||||
|
|
||||||
# Synchronize Google Drive every 15 minutes
|
|
||||||
*/15 * * * * $HOME/.local/bin/sync-drive 2>> $HOME/.local/log/cron.log
|
|
||||||
|
|
|
@ -1,21 +0,0 @@
|
||||||
#!/usr/bin/env bash
|
|
||||||
#
|
|
||||||
# SCRIPT NAME:
|
|
||||||
# sync-drive
|
|
||||||
#
|
|
||||||
# AUTHOR:
|
|
||||||
# Severin Kaderli <severin@kaderli.dev>
|
|
||||||
#
|
|
||||||
# DESCRIPTION:
|
|
||||||
# Syncs Google Drive folder
|
|
||||||
#
|
|
||||||
# USAGE:
|
|
||||||
# ./sync-drive
|
|
||||||
. /home/severin/.local/bin/utils
|
|
||||||
|
|
||||||
if [ ! -d "/home/severin/documents" ]; then
|
|
||||||
exit
|
|
||||||
fi
|
|
||||||
|
|
||||||
print_time_log "sync-drive" "Syncing with Google Drive"
|
|
||||||
grive -d -p "/home/severin/documents/"
|
|
Loading…
Add table
Add a link
Reference in a new issue