Skip to content

Commit

Permalink
groundhog day: cp -r is back
Browse files Browse the repository at this point in the history
  • Loading branch information
Staubgeborener committed Jan 13, 2024
1 parent 4ae3a67 commit 491733a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ while IFS= read -r path; do
elif [[ $(basename "$file") =~ ^printer-[0-9]+_[0-9]+\.cfg$ ]]; then
echo "Skipping file: $file"
else
cp $file $HOME/$backup_folder/
cp -r $file $HOME/$backup_folder/
fi
done
done < <(grep -v '^#' "$parent_path/.env" | grep 'path_' | sed 's/^.*=//')
Expand Down

0 comments on commit 491733a

Please sign in to comment.