refactor
This commit is contained in:
parent
633527ef02
commit
154cdadaeb
1 changed files with 7 additions and 8 deletions
|
@ -70,7 +70,6 @@ cmd trash ${{
|
||||||
[ $ans = "y" ] && trash-put $fx
|
[ $ans = "y" ] && trash-put $fx
|
||||||
}}
|
}}
|
||||||
|
|
||||||
|
|
||||||
cmd moveto ${{
|
cmd moveto ${{
|
||||||
clear; tput cup $(($(tput lines)/3)); tput bold
|
clear; tput cup $(($(tput lines)/3)); tput bold
|
||||||
set -f
|
set -f
|
||||||
|
@ -94,13 +93,13 @@ cmd copyto ${{
|
||||||
}}
|
}}
|
||||||
|
|
||||||
cmd rsyncto ${{
|
cmd rsyncto ${{
|
||||||
clear; tput cup $(($(tput lines)/3)); tput bold
|
clear; tput cup $(($(tput lines)/3)); tput bold
|
||||||
set -f
|
set -f
|
||||||
clear; echo "rsync to where?"
|
clear; echo "rsync to where?"
|
||||||
read dest
|
read dest
|
||||||
for x in $fx; do
|
for x in $fx; do
|
||||||
eval rsync -aAXHv \"$x\" \"$dest\"
|
eval rsync -aAXHv \"$x\" \"$dest\"
|
||||||
done &&
|
done &&
|
||||||
notify-send "File(s) rsynced." "File(s) copies to $dest."
|
notify-send "File(s) rsynced." "File(s) copies to $dest."
|
||||||
}}
|
}}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue