ripping scripts

This commit is contained in:
Arne Baeumler 2015-12-14 22:18:39 +01:00
parent 0db0978c37
commit 039162b61d
4 changed files with 29 additions and 0 deletions

3
rip/cd-rip-background.sh Executable file
View File

@ -0,0 +1,3 @@
#!/bin/sh
echo /opt/bin/cd-rip.sh | at now

10
rip/cd-rip.sh Executable file
View File

@ -0,0 +1,10 @@
#!/bin/sh
. /etc/profile
ps aux | grep abcde | grep -v grep
[ $? -eq 0 ] && exit
abcde -G -b -j 1 -p -N
echo "CD ist fertig" | mailx -s "Audio CD" arne@br0tkasten.de

3
rip/dvd-rip-background.sh Executable file
View File

@ -0,0 +1,3 @@
#!/bin/sh
echo /opt/bin/dvd-rip.sh | at now

13
rip/dvd-rip.sh Executable file
View File

@ -0,0 +1,13 @@
#!/bin/sh
. /etc/profile
ps aux | grep dvdbackup | grep -v grep
[ $? -eq 0 ] && exit
logger "Started ripping DVD"
dvdbackup -i /dev/cdrom -o /net/media/Videos -F
echo "DVD fertig" | mailx -s "DVD ripping" arne@br0tkasten.de
logger "Completed ripping DVD"