summaryrefslogtreecommitdiff
path: root/home/xyz/.local/bin/upd
diff options
context:
space:
mode:
authorXiao Pan <gky44px1999@gmail.com>2023-07-02 18:50:42 -0700
committerXiao Pan <gky44px1999@gmail.com>2023-07-02 18:50:42 -0700
commitb27c5d786772ac2dcc71335130fbc7066ef5df91 (patch)
tree5e75a1f8ba11a992ba89b27d6d6253ff00466d69 /home/xyz/.local/bin/upd
parent1736d33c090d17cb1f9da8ad786ebeef9a0d89bb (diff)
new upd
Diffstat (limited to 'home/xyz/.local/bin/upd')
-rwxr-xr-xhome/xyz/.local/bin/upd5
1 files changed, 1 insertions, 4 deletions
diff --git a/home/xyz/.local/bin/upd b/home/xyz/.local/bin/upd
index 23300878..9e272d36 100755
--- a/home/xyz/.local/bin/upd
+++ b/home/xyz/.local/bin/upd
@@ -95,14 +95,11 @@ checkrebuild: $(checkrebuild | awk '$2!="zoom"{printf("%s ",$2)}')
#}
usb () {
- cfg -l push 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 ~/.password-store /run/media/xyz/bd0
# --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/bd0/pp
+ #rsync -avPRr --delete --files-from="$XDG_CONFIG_HOME/myconf/upd_rsync_files" / /run/media/xyz/bd0/pp
# not sure if useful or not
sync