Now with better logging

This commit is contained in:
H0mire 2024-05-04 17:07:53 +02:00
parent a1c03348f2
commit 9b5104ee37

View file

@ -209,7 +209,7 @@ for folder in "${folders[@]}"; do
if [[ -f "$file" && ! $(file_in_excludes "$file") && ! " ${modified_files[@]} " =~ " ${file} " ]]; then
# Construct the destination path
destination="$HOME/$file"
echo "$destination"
echo "Replacing \"$destination\" ..."
# Copy the file
# Create the destination folder if it doesn't exist
mkdir -p "$(dirname "$destination")"