mirror of
https://github.com/007revad/Synology_Docker_Export.git
synced 2026-04-25 12:25:56 +03:00
[GH-ISSUE #8] "bad substitution" error in checking age of files #2
Labels
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/Synology_Docker_Export#2
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @devau on GitHub (Apr 13, 2025).
Original GitHub issue: https://github.com/007revad/Synology_Docker_Export/issues/8
Hello
Synology_Docker_Export v1.0.1
DS1520+ DSM 7.2.2-72806-3
Exporting container settings to /volume1/docker/docker_exports
Exporting paperless-ngx json
/volume1/dvbin/Synology_Docker_Export-1.0.1/syno_docker_export.sh: line 105: ${container,,}_*.json: bad substitution
Finished
There must be a syntax error in the "# Delete backups older than $DeleteOlder day_s" if-fi section.
If I comment out that age checking, script runs fine to the end!
@007revad commented on GitHub (Apr 14, 2025):
Try replacing this part of line 105:
with this:
@devau commented on GitHub (Apr 14, 2025):
Thanks a lot, it is working now!!