i have write a small bash-sript to sort my downloaded videos:
Code: Select all
#!/bin/bash
#
# Sort Films
#
##############################################################################
### NZBGET POST-PROCESSING SCRIPT ###
# Filme verschieben in Downloads
#
##############################################################################
### OPTIONS ###
### NZBGET POST-PROCESSING SCRIPT ###
##############################################################################
/opt/bin/find "/share/Download/nzbget/dst" -type f -name "*.mkv" -exec mv {} "/share/Recordings/" \;
/opt/bin/find "/share/Download/nzbget/dst" -type f -name "*.mov" -exec mv {} "/share/Recordings/" \;
/opt/bin/find "/share/Download/nzbget/dst" -type f -name "*.avi" -exec mv {} "/share/Recordings/" \;
/opt/bin/find "/share/Download/nzbget/dst" -type f -name "*.mpg" -exec mv {} "/share/Recordings/" \;
/opt/bin/find "/share/Download/nzbget/dst" -type f -name "*.mpeg" -exec mv {} "/share/Recordings/" \;
rm -r /share/Download/nzbget/dst/*
"Post-process-script Filme.py for NAME failed (terminated with unknown status)"
What can i put in the Bash-Script to output without error?
Thanks.