diff options
Diffstat (limited to 'home/xyz/.local/bin/upd')
| -rwxr-xr-x | home/xyz/.local/bin/upd | 22 | 
1 files changed, 11 insertions, 11 deletions
diff --git a/home/xyz/.local/bin/upd b/home/xyz/.local/bin/upd index e56a509c..f2ea2565 100755 --- a/home/xyz/.local/bin/upd +++ b/home/xyz/.local/bin/upd @@ -5,7 +5,7 @@ all () {  	qb  	refl  	usb -	xmr +	#xmr  }  clean () { @@ -98,24 +98,24 @@ 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 +	rsync -avPRr --delete --files-from="$XDG_CONFIG_HOME/myconf/upd_rsync_files" / /run/media/xyz/bd0/pp  	# not sure if useful or not  	sync  } -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 -	# not sure if useful or not -	sync -} +#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 +#	# not sure if useful or not +#	sync +#}  if [ $# -eq 0 ]; then  	fast  else -	while getopts acfjmpqrux opt; do +	while getopts acfjmpqru opt; do  		case $opt in  			a)all;;  			c)clean;; @@ -126,7 +126,7 @@ else  			q)qb;;  			r)refl;;  			u)usb;; -			x)xmr;; +			#x)xmr;;  			\?)exit 1;;  		esac  	done  | 
