diverses hinzu
This commit is contained in:
31
dvd-gen-movix
Executable file
31
dvd-gen-movix
Executable file
@@ -0,0 +1,31 @@
|
||||
|
||||
set -x
|
||||
|
||||
. /etc/dvd-scripts.env
|
||||
|
||||
DVD_DIR=$1
|
||||
FILES=$2
|
||||
|
||||
cd $DVD_DIR
|
||||
|
||||
echo "Movix DVD aus Dateien $DVD_DIR/$FILES erzeugen..."
|
||||
|
||||
#MAX_SIZE=4702989182
|
||||
|
||||
# DVD-Size 4,702,989,182
|
||||
i#size=`du -sb "$DVD_DIR" | awk '{print $1}'`
|
||||
#printf "size: %4d MB\n" `expr $size \/ 1024 \/ 1024`
|
||||
#printf "size: %4d MB\n" `echo "$size/1024/1024;" | bc `
|
||||
#if [ $size -gt $MAX_SIZE ]
|
||||
#then
|
||||
# printf "Zu Gro<72> (max: %4d MB) !!!\n" `expr $MAX_SIZE \/ 1024 \/ 1024`
|
||||
#lse
|
||||
# growisofs -Z $DVD_DEVICE -R -J $DVD_DIR
|
||||
#fi
|
||||
|
||||
mkmovixiso $FILES
|
||||
ln -s movix.iso last.iso
|
||||
|
||||
sleep 1
|
||||
echo Fertig.
|
||||
eject
|
||||
Reference in New Issue
Block a user