Dvdselect readdvd.sh
Aus VDR Wiki
(Unterschied zwischen Versionen)
Zeile 1: | Zeile 1: | ||
− | + | #!/bin/sh | |
− | #!/bin/sh | + | # |
− | # | + | # dvdselect_readdvd.sh - v.0.1 |
− | # dvdselect_readdvd.sh - v.0.1 | + | # |
− | # | + | # source: [[dvdselect-plugin]] |
− | # source: | + | # |
− | # | + | # This script will by called by the vdr-plugin dvdselect to copy a DVD to |
− | # This script will by called by the vdr-plugin dvdselect to copy a DVD to | + | # the local drive. |
− | # the local drive. | + | # |
− | # | + | # It gets the following parameters: |
− | # It gets the following parameters: | + | # |
− | # | + | # $1 = directory for dvd's (see plugin configuration menu) |
− | # $1 = directory for dvd's (see plugin configuration menu) | + | # $2 = name of dvd |
− | # $2 = name of dvd | + | # $3 = original dvd-device |
− | # $3 = original dvd-device | + | |
− | + | rm -f $1/$2.iso | |
− | rm -f $1/$2.iso | + | |
− | + | echo "echo dd if=$3 of=$1/$2.iso" | at now | |
− | echo "echo dd if=$3 of=$1/$2.iso" | at now | + | |
− | + | ||
[[Kategorie:Scripts]] | [[Kategorie:Scripts]] |
Version vom 26. Dezember 2004, 12:44 Uhr
#!/bin/sh # # dvdselect_readdvd.sh - v.0.1 # # source: dvdselect-plugin # # This script will by called by the vdr-plugin dvdselect to copy a DVD to # the local drive. # # It gets the following parameters: # # $1 = directory for dvd's (see plugin configuration menu) # $2 = name of dvd # $3 = original dvd-device rm -f $1/$2.iso echo "echo dd if=$3 of=$1/$2.iso" | at now