diff options
author | xyz <gky44px1999@gmail.com> | 2022-05-23 23:25:29 -0700 |
---|---|---|
committer | xyz <gky44px1999@gmail.com> | 2022-05-23 23:25:29 -0700 |
commit | e310e519745cc5ab849de500262e817184fbc111 (patch) | |
tree | 54befefa02ef5e3e3d0397c39a01e917d424cc38 /home/xyz | |
parent | a1c5e4138f2b72c7ac8aef7a970e940c62d4d5c4 (diff) |
upd add backup to external drive scripts
Diffstat (limited to 'home/xyz')
-rwxr-xr-x | home/xyz/.local/bin/upd | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/home/xyz/.local/bin/upd b/home/xyz/.local/bin/upd index cb998b27..efb9ed48 100755 --- a/home/xyz/.local/bin/upd +++ b/home/xyz/.local/bin/upd @@ -108,6 +108,10 @@ usb () { cfg -s push git --git-dir="$XDG_DOCUMENTS_DIR/notes/.git/" --work-tree="$XDG_DOCUMENTS_DIR/notes/" push usb git --git-dir="$HOME/programs/reminders/.git/" --work-tree="$HOME/programs/reminders/" push usb + + rsync -navPR --delete ~/archive ~/documents ~/downloads ~/music ~/pictures ~/programs ~/test ~/videos ~/.local/share/stardict/dic ~/.local/share/qBittorrent ~/.local/share/sdcv_history ~/.cache/nsxiv ~/.config/qBittorrent ~/.bitmonero/wallets /run/media/xyz/BAKDRI/ + monero-blockchain-export --output-file /run/media/xyz/BAKDRI/archive/monero/blockchain.raw + # not sure if useful or not sync } |