diff options
author | xyz <gky44px1999@gmail.com> | 2022-06-09 20:00:29 -0700 |
---|---|---|
committer | xyz <gky44px1999@gmail.com> | 2022-06-09 20:00:29 -0700 |
commit | ed79df703b024e510ca2920fc8c7a9cf21e18293 (patch) | |
tree | b5a48f7fe2930e4b7c67ad9527bd22edd38dbabc /home | |
parent | 75a07a21edc89265114668c3908c122c89b6e785 (diff) |
refactor
Diffstat (limited to 'home')
-rwxr-xr-x | home/xyz/.local/bin/upd | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/home/xyz/.local/bin/upd b/home/xyz/.local/bin/upd index 8ce4d974..b278c544 100755 --- a/home/xyz/.local/bin/upd +++ b/home/xyz/.local/bin/upd @@ -110,7 +110,9 @@ usb () { 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 -avPR --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 ~/.password-store /run/media/xyz/BAKDRI + #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 ~/.password-store /run/media/xyz/BAKDRI + # --files-from make -a not imply -r, so need to specify explicitly + rsync -avPRr --delete --files-from="$XDG_CONFIG_HOME/myconf/upd_rsync_files" / /run/media/xyz/BAKDRI # not sure if useful or not sync |