summaryrefslogtreecommitdiff
path: root/home/xyz/.local/bin/upd
diff options
context:
space:
mode:
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 1245ec22..4ccc9c4b 100755
--- a/home/xyz/.local/bin/upd
+++ b/home/xyz/.local/bin/upd
@@ -96,10 +96,7 @@ refl () {
}
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
@@ -112,7 +109,7 @@ usb () {
xmr () {
# use cd to workaround monero-blockchain-export.log log file save in current dir? issue, haven't tested
cd "$HOME/.bitmonero" || exit
- monero-blockchain-export --output-file /run/media/xyz/bd0/archive/monero/blockchain.raw
+ monero-blockchain-export --output-file /run/media/xyz/bd0/user_owner_dir/monero_blockchain.raw
# not sure if useful or not
sync
}