summaryrefslogtreecommitdiff
path: root/home
diff options
context:
space:
mode:
authorxyz <gky44px1999@gmail.com>2022-06-09 20:00:29 -0700
committerxyz <gky44px1999@gmail.com>2022-06-09 20:00:29 -0700
commited79df703b024e510ca2920fc8c7a9cf21e18293 (patch)
treeb5a48f7fe2930e4b7c67ad9527bd22edd38dbabc /home
parent75a07a21edc89265114668c3908c122c89b6e785 (diff)
refactor
Diffstat (limited to 'home')
-rwxr-xr-xhome/xyz/.local/bin/upd4
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