This commit is contained in:
Stephan Raabe 2023-11-11 11:19:28 +01:00
parent ad8ab06486
commit ce570c0f24

View File

@ -23,9 +23,11 @@ EOF
[Yy]* )
if [ ! -d ~/dotfiles-versions ]; then
mkdir ~/dotfiles-versions
echo "~/dotfiles-versions created."
fi
if [ ! -d ~/dotfiles-versions/backups ]; then
mkdir ~/dotfiles-versions/backups
echo "~/dotfiles-versions/backups created"
fi
if [ -d ~/dotfiles ]; then
cp -r ~/dotfiles ~/dotfiles-versions/backups/$datets