Staubgeborener / klipper-backup

Klipper backup script for manual or automated GitHub backups. Lightweight, pragmatic and comfortable.
https://klipperbackup.xyz
222 stars 46 forks source link

commenting out paths in .env not working #20

Closed cherub-i closed 6 months ago

cherub-i commented 6 months ago

script.sh is also working on pathes in .env, which are commented out with a #. I would prefer to be able to comment out lines by adding a # at the beginning.

I believe, you could achieve this by changing script.sh:24 to

done < <(grep -v '^#' "$parent_path"/.env | grep 'path_' | sed 's/^.*=//')
cherub-i commented 6 months ago

Sorry - typically German, pointing out something small that could be changed, but forgetting the main thing: Thank you for providing this script. I find it really helpful :-)

Staubgeborener commented 6 months ago

Good idea, I close this one as you already open a pull request. Thanks!