Search found 7 matches

by spamphox
March 2nd, 2025, 2:59 pm
Forum: General Help
Topic: Script won't run, it's gotta be something simple
Replies: 13
Views: 35077

Re: Script won't run, it's gotta be something simple

Wow, that's very deep for someone with limited experience such as myself. I thought the issue may have been related to the directories, during my initial troubleshooting. At one point, I DID see an error about the destination directory "missing an operand" with the error message adding a &...
by spamphox
March 2nd, 2025, 12:17 pm
Forum: General Help
Topic: Script won't run, it's gotta be something simple
Replies: 13
Views: 35077

Re: Script won't run, it's gotta be something simple

Holy smokes! Yes, I was...I typically use notepad++. I deleted the script and recreated it from within the console, and it works as expected now! I NEVER would have thought of that being the crux of the issue on my own. #!/bin/bash cp "$1"/* /data/00_Watch_Folders/0_watch_tv/ echo "Co...
by spamphox
March 2nd, 2025, 10:41 am
Forum: General Help
Topic: Script won't run, it's gotta be something simple
Replies: 13
Views: 35077

Re: Script won't run, it's gotta be something simple

Your comment about the shebang had me wondering if maybe it couldn't execute bash for some reason? "which bash" returned the following: [nobody@dd38d12f8d0c /]$ which bash /usr/sbin/bash [nobody@dd38d12f8d0c /]$ I edited the script with #!/usr/sbin/bash and #!/usr/bin/bash which also gave ...
by spamphox
March 2nd, 2025, 10:27 am
Forum: General Help
Topic: Script won't run, it's gotta be something simple
Replies: 13
Views: 35077

Re: Script won't run, it's gotta be something simple

Wow, thanks for all your effort. $1 as a source directory gives the same error. I actually had "$1" at first but changed it during troubleshooting. When I ran the script manually via the container's console, $1 caused it to try copying the container's entire directory over, so I changed th...
by spamphox
March 1st, 2025, 6:05 pm
Forum: General Help
Topic: Script won't run, it's gotta be something simple
Replies: 13
Views: 35077

Re: Script won't run, it's gotta be something simple

I verified x bit is ON.

I'm able to select the script from the "script" drop-down list in the "categories" menu of Sab. Is there another way to check that it exists to Sab?
by spamphox
March 1st, 2025, 5:04 pm
Forum: General Help
Topic: Script won't run, it's gotta be something simple
Replies: 13
Views: 35077

Re: Script won't run, it's gotta be something simple

Sorry for any confusion. I entered those manually because the forum was detecting the ".sh" as a link and I'm not allowed to post links as a new forum member. I work in cyber security and that's how we share links without making them accidentally 'clickable.'
by spamphox
March 1st, 2025, 3:15 pm
Forum: General Help
Topic: Script won't run, it's gotta be something simple
Replies: 13
Views: 35077

Script won't run, it's gotta be something simple

Hi frens, I'm on version 4.4.1 and am trying to get a very simple bash post-processing script that will run via category to copy a file to another directory upon completion. I've read the wiki, countless forum posts, and every relevant google search. Upon download completion, Sab tries to run the fo...