summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--etc/.cfgl/config3
-rwxr-xr-xhome/xyz/.local/bin/upd5
2 files changed, 1 insertions, 7 deletions
diff --git a/etc/.cfgl/config b/etc/.cfgl/config
index 57825631..4caba004 100644
--- a/etc/.cfgl/config
+++ b/etc/.cfgl/config
@@ -14,6 +14,3 @@
[branch "master"]
remote = origin
merge = refs/heads/master
-[remote "usb"]
- url = /run/media/xyz/bd0/git_repos/config_local_arch
- fetch = +refs/heads/*:refs/remotes/usb/*
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
}