changed cp -r to rsync -ah --progress to show progress
This commit is contained in:
parent
834ed346e9
commit
3635773c42
@ -16,24 +16,24 @@ rm -rf ~/old_dat
|
|||||||
#make new directory
|
#make new directory
|
||||||
mkdir ~/old_dat
|
mkdir ~/old_dat
|
||||||
#back stuff up
|
#back stuff up
|
||||||
cp -r ~/.config ~/old_dat/.config &&
|
rsync -ah --progress ~/.config ~/old_dat/.config &&
|
||||||
cp -r ~/Dokumente ~/old_dat/Dokumente &&
|
rsync -ah --progress ~/Dokumente ~/old_dat/Dokumente &&
|
||||||
cp -r ~/scripts ~/old_dat/scripts &&
|
rsync -ah --progress ~/scripts ~/old_dat/scripts &&
|
||||||
cp -r ~/.mozilla ~/old_dat/.mozilla &&
|
rsync -ah --progress ~/.mozilla ~/old_dat/.mozilla &&
|
||||||
echo Made backups
|
echo Made backups
|
||||||
|
|
||||||
#copy folders
|
#copy folders
|
||||||
cp -r ~/config/.config/ ~/ &&
|
rsync -ah --progress ~/config/.config/ ~/ &&
|
||||||
cp -r ~/config/Dokumente ~/ &&
|
rsync -ah --progress ~/config/Dokumente ~/ &&
|
||||||
cp -r ~/config/.mozilla ~/ &&
|
rsync -ah --progress ~/config/.mozilla ~/ &&
|
||||||
echo Copied folders
|
echo Copied folders
|
||||||
#copy single files
|
#copy single files
|
||||||
cp ~/config/.bashrc ~/ &&
|
rsync -ah --progress ~/config/.bashrc ~/ &&
|
||||||
cp ~/config/.face ~/ &&
|
rsync -ah --progress ~/config/.face ~/ &&
|
||||||
cp ~/config/.gtkrc-2.0 ~/ &&
|
crsync -ah --progressp ~/config/.gtkrc-2.0 ~/ &&
|
||||||
echo Copied files
|
echo Copied files
|
||||||
#copy scripts
|
#copy scripts
|
||||||
cp -r ~/config/scripts/ ~/
|
rsync -ah --progress ~/config/scripts/ ~/
|
||||||
#copy stuff to /etc
|
#copy stuff to /etc
|
||||||
sudo cp -r ~/config/etc /
|
sudo cp -r ~/config/etc /
|
||||||
#copy old lightdm themes (and maybe other stuff, idk)
|
#copy old lightdm themes (and maybe other stuff, idk)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user