this post was submitted on 15 Sep 2024
4 points (75.0% liked)
Bash
714 readers
1 users here now
Talk about the Bash Shell and Bash scripting
founded 4 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
“It doesn’t work” is really hard to troubleshoot.
Are you running this script as root and does that directory path exist?
That was indeed the problem. Fixed now