mirror of
https://codeberg.org/hyperreal/admin-scripts
synced 2024-11-01 16:03:06 +01:00
Change commands in sync_to_protondrive
This commit is contained in:
parent
2808960e37
commit
45ffe3579b
@ -1,11 +1,11 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
if ! flatpak run org.kde.kbackup --auto /home/jas/shared/default.kbp; then
|
if ! kbackup --auto /home/jas/documents/default.kbp; then
|
||||||
logger -t backup_home -s "Error running kbackup"
|
logger -t backup_home -s "Error running kbackup"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if ! /home/jas/.local/bin/rclone sync --transfers 8 /home/jas/sync-to-protondrive/ protondrive: ; then
|
if ! rclone sync --transfers 8 /home/jas/sync_to_protondrive/ protondrive: ; then
|
||||||
logger -t backup_home -s "Error running rclone"
|
logger -t backup_home -s "Error running rclone"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user