File: Sample-PostProc.sh

package info (click to toggle)
sabnzbdplus 0.6.15-1
  • links: PTS, VCS
  • area: contrib
  • in suites: wheezy
  • size: 7,444 kB
  • sloc: python: 30,269; sh: 105; makefile: 60
file content (16 lines) | stat: -rwxr-xr-x 433 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/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