From 3635773c42eae78879b7192737a39e215bdbec6e Mon Sep 17 00:00:00 2001 From: RealStickman Date: Fri, 12 Jun 2020 14:43:13 +0000 Subject: [PATCH] changed cp -r to rsync -ah --progress to show progress --- arch-config/scripts/arcolinux-config.sh | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/arch-config/scripts/arcolinux-config.sh b/arch-config/scripts/arcolinux-config.sh index fc0e689d..ff6c61d8 100644 --- a/arch-config/scripts/arcolinux-config.sh +++ b/arch-config/scripts/arcolinux-config.sh @@ -16,24 +16,24 @@ rm -rf ~/old_dat #make new directory mkdir ~/old_dat #back stuff up -cp -r ~/.config ~/old_dat/.config && -cp -r ~/Dokumente ~/old_dat/Dokumente && -cp -r ~/scripts ~/old_dat/scripts && -cp -r ~/.mozilla ~/old_dat/.mozilla && +rsync -ah --progress ~/.config ~/old_dat/.config && +rsync -ah --progress ~/Dokumente ~/old_dat/Dokumente && +rsync -ah --progress ~/scripts ~/old_dat/scripts && +rsync -ah --progress ~/.mozilla ~/old_dat/.mozilla && echo Made backups #copy folders -cp -r ~/config/.config/ ~/ && -cp -r ~/config/Dokumente ~/ && -cp -r ~/config/.mozilla ~/ && +rsync -ah --progress ~/config/.config/ ~/ && +rsync -ah --progress ~/config/Dokumente ~/ && +rsync -ah --progress ~/config/.mozilla ~/ && echo Copied folders #copy single files -cp ~/config/.bashrc ~/ && -cp ~/config/.face ~/ && -cp ~/config/.gtkrc-2.0 ~/ && +rsync -ah --progress ~/config/.bashrc ~/ && +rsync -ah --progress ~/config/.face ~/ && +crsync -ah --progressp ~/config/.gtkrc-2.0 ~/ && echo Copied files #copy scripts -cp -r ~/config/scripts/ ~/ +rsync -ah --progress ~/config/scripts/ ~/ #copy stuff to /etc sudo cp -r ~/config/etc / #copy old lightdm themes (and maybe other stuff, idk)