mirror of
https://github.com/dragoonDorise/EmuDeck.git
synced 2024-05-20 05:10:46 -04:00
rsync zenity awk
This commit is contained in:
parent
18e535fdd4
commit
6c52d1dc53
|
@ -28,8 +28,10 @@ Migration_init(){
|
||||||
Migration_move(){
|
Migration_move(){
|
||||||
origin=$1
|
origin=$1
|
||||||
destination=$2
|
destination=$2
|
||||||
rsync --dry-run -avzh "$origin" "$destination" && Migration_updatePaths "$origin" "$destination" | \
|
rsync -av --progress --dry-run "$origin" "$destination" |
|
||||||
stdbuf -i0 -o0 -e0 tr '\r' '\n' | stdbuf -i0 -o0 -e0 awk -W interactive '/^ /{ print int(+$2); fflush(); next}$0{ print "# " $0}' | zenity --progress --width=400 --text="Moving...." --auto-close --title="Migrating your installation"
|
awk -f $HOME/.config/EmuDeck/backend/rsync.awk |
|
||||||
|
zenity --progress --title "Migrating your installation to $destination" \
|
||||||
|
--text="Scanning..." --width=400 --percentage=0 --auto-kill
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue