Fixed ctar (removed du), made rsh non case sensitive
This commit is contained in:
parent
15d7066a6d
commit
b4f6a624f2
@ -43,7 +43,7 @@ function rsh(){
|
||||
cat /home/stonewareslord/syncthing/shared/ips
|
||||
return 1
|
||||
fi
|
||||
ADDR=$(cat /home/stonewareslord/syncthing/shared/ips | sed -rne "s/^$1: //p")
|
||||
ADDR=$(cat /home/stonewareslord/syncthing/shared/ips | sed -rne "s/^$1: //pi")
|
||||
shift
|
||||
if [ -z $ADDR ] ; then
|
||||
echo "Hostname not found"
|
||||
@ -142,7 +142,8 @@ alias -g L="2>&1|less"
|
||||
alias -g G='|& ag'
|
||||
export FZF_COMPLETION_OPTS='--no-mouse -m -1 -x'
|
||||
function ctar(){
|
||||
tar -cf - $@|pv -WcN tar -s $(echo $(du -sb $@|awk '{print $1}'|tr '\n' '+')0|bc)|gzip|pv -WcN dest
|
||||
tar -cf - $@|pv -WcN tar|gzip|pv -WcN gzip
|
||||
#tar -cf - $@|pv -WcN tar -s $(echo $(du -sb $@|awk '{print $1}'|tr '\n' '+')0|bc)|gzip|pv -WcN dest
|
||||
#tar -cf - $@|pv -WcN tar -s $(echo $(du -sb $@|awk '{print $1}'|tr '\n' '+')0|bc)|gzip|pv -WcN dest
|
||||
}
|
||||
function offline(){
|
||||
|
Loading…
Reference in New Issue
Block a user