Search found 6 matches
- May 29th, 2022, 5:33 am
- Forum: General Help
- Topic: Move subtitles to parent folder after download
- Replies: 2
- Views: 303
Re: Move subtitles to parent folder after download
Thank you very much, the quotes "" around the variable did the trick! Why didn't I think of that?!
- May 29th, 2022, 5:19 am
- Forum: General Help
- Topic: Move subtitles to parent folder after download
- Replies: 2
- Views: 303
Move subtitles to parent folder after download
Hi there, I'm trying to automate my SABnzbd setup (running on QNAP) using a post-processing script. As part of this, I would like to move my subtitle files out of the /Subs/* folder to the parent directory, as Plex doesn't support this type of structure. So far, this is my script: #!/bin/bash cd $1 ...
- May 27th, 2022, 4:15 pm
- Forum: General Help
- Topic: How to determine the execution directory of a post-processing script?
- Replies: 10
- Views: 856
Re: How to determine the execution directory of a post-processing script?
$1 might be empty. For testing purposes, add a line that sends $1 to stdout (which will be shown in the SABnzbd log). I tried this, everything looks normal in this line. But looking through the log file, I discovered another interesting thing (shame on me... :-[ ): 2022-05-27 20:58:03,871::INFO::[p...
- May 27th, 2022, 3:15 pm
- Forum: General Help
- Topic: How to determine the execution directory of a post-processing script?
- Replies: 10
- Views: 856
Re: How to determine the execution directory of a post-processing script?
The output of the script is:
However, there is still no filelist.txt file in the downloaded folder.
Code: Select all
Start
Step2
Done
- May 27th, 2022, 12:15 pm
- Forum: General Help
- Topic: How to determine the execution directory of a post-processing script?
- Replies: 10
- Views: 856
Re: How to determine the execution directory of a post-processing script?
Yes, after unpacking the script ran without any warnings or errors.
- May 27th, 2022, 11:12 am
- Forum: General Help
- Topic: How to determine the execution directory of a post-processing script?
- Replies: 10
- Views: 856
How to determine the execution directory of a post-processing script?
Hi there, I'm currently trying to create a post-processing script that creates a filelist in the downloaded folder. SABnzbd is currently running on my QNAP NAS. The script I tried looks like this: #!/bin/bash cd $1 ls -A -R -g -p --group-directories-first > filelist.txt However, after successfully r...