diff options
author | Xiao Pan <gky44px1999@gmail.com> | 2023-07-02 18:50:42 -0700 |
---|---|---|
committer | Xiao Pan <gky44px1999@gmail.com> | 2023-07-02 18:50:42 -0700 |
commit | b27c5d786772ac2dcc71335130fbc7066ef5df91 (patch) | |
tree | 5e75a1f8ba11a992ba89b27d6d6253ff00466d69 /home/xyz/.local/bin/upd | |
parent | 1736d33c090d17cb1f9da8ad786ebeef9a0d89bb (diff) |
new upd
Diffstat (limited to 'home/xyz/.local/bin/upd')
-rwxr-xr-x | home/xyz/.local/bin/upd | 5 |
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 |