Files
Guides/includes
Pa7rickStar 5cd435f1bd fix(hardlinks): avoid duplicate group scans and improve fclones validation (#2635)
* feat(cfg): add  PATH_SEPARATOR and CACHE_PATH support
- bump configuration version from 1.1.0 to 1.2.0
- add configurable `PATH_SEPARATOR` for `folders[...]` values
- document backward compatibility: defaults to space when unset
- add `CACHE_PATH` for usage with --cache flag in fclones

refactor(fclones): save group reports, add PATH_SEPARATOR support, and improve logging/validation
- bump script version from 1.0.0 to 1.1.0
- run `fclones group` once per folder group and save stdout to a temp report file
- feed saved group report into `fclones link` instead of running `group` twice
- support configurable `PATH_SEPARATOR` for `folders[...]` values (defaults to space for backward compatibility)
- allow folder groups with 1+ paths and validate parsed directory lists
- add config format warnings for quoted path values / missing PATH_SEPARATOR usage
- add cache directory setup/validation (`setup_cache_dir`)
- switch command execution to Bash arrays (safer than `eval` for paths/args)
- separate `fclones group` stdout (report file) from stderr (captured for logging)
- refactor logging to `log_msg LEVEL ...` with timestamped INFO/WARN/ERROR output
- replace several `echo` parsing calls with safer `printf`
- rename `hardlinks_created` to `successful_groups` for clearer semantics
- add warn-only config version compatibility check against `MIN_CONFIG_VERSION`

* fix(fclones):
- update error messages and documentation for folder group configuration
- spelling errors
- reset seen_files per group run

* fixed pre-commit error `Wrong indent style found (tabs instead of spaces)` using shfmt -i 4 -ci -w includes/downloaders/fclones.sh

* fix(mover-tuning): remove obsolete comment on file patterns

* Expanding start and stop scripts for multiple containers

mover-tuning.cfg — version bumped to 1.3.0

ENABLE_QBIT_MANAGE → ENABLE_DOCKER_MANAGEMENT
QBIT_MANAGE_CONTAINER (single string) → DOCKER_CONTAINERS (array)
QBIT_MANAGE_WAIT → DOCKER_WAIT
Added an inline example showing multiple containers

mover-tuning-start.sh — version bumped to 1.3.0

Validation now checks ENABLE_DOCKER_MANAGEMENT and also errors if the array is empty when the feature is enabled
The single docker stop call is replaced by a loop over DOCKER_CONTAINERS; the DOCKER_WAIT sleep only fires if all stops succeeded
Each container gets its own Unraid notification

mover-tuning-end.sh — version bumped to 1.2.0

Same validation update as the start script
The single docker start call is replaced by a loop over DOCKER_CONTAINERS; each container gets its own notification

---------

Co-authored-by: Bauke <mail@baukezwart.com>
2026-03-15 12:38:00 +01:00
..