File: Sample-PostProc.sh

package info (click to toggle)
sabnzbdplus 4.5.4%2Bdfsg-4
  • links: PTS, VCS
  • area: contrib
  • in suites: forky, sid
  • size: 16,972 kB
  • sloc: javascript: 36,731; python: 33,071; xml: 536; sh: 249; makefile: 38
file content (14 lines) | stat: -rwxr-xr-x 474 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh
# Example of a post processing script for SABnzbd

echo
echo Started as $0
echo
echo "The first parameter (result-dir)  =" "$1"
echo "The second parameter (nzb-name)   =" "$2"
echo "The third parameter (nice name)   =" "$3"
echo "The fourth parameter (newzbin-id) =" "$4"
echo "The fifth parameter (category)    =" "$5"
echo "The sixth parameter (group)       =" "$6"
echo "The seventh parameter (status)    =" "$7"
echo "The eight parameter (failure_url) =" "$8"