File: Sample-PostProc.sh

package info (click to toggle)
sabnzbdplus 0.7.18-1
  • links: PTS, VCS
  • area: contrib
  • in suites: jessie, jessie-kfreebsd
  • size: 10,224 kB
  • ctags: 4,911
  • sloc: python: 34,096; sh: 102; xml: 37; makefile: 34
file content (17 lines) | stat: -rwxr-xr-x 481 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/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 eigth parameter (failure_url) =" "$8"
echo