/usr/bin/dvddirdel is in dvdauthor 0.7.0-1.2ubuntu1.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 | #!/bin/sh
help=0
out=0
for i in "$@"; do
if [ $out = 1 ]; then
WORKDIR="$i"
out=0
elif [ "x$i" = "x-h" ]; then
help=1
elif [ "x$i" = "x-o" ]; then
out=1
fi
done
if [ $help = 1 -o "x$WORKDIR" = "x" ]; then
echo "DVDAuthor::dvddirdel, version 0.7.0."
echo "Send bug reports to <dvdauthor-users@lists.sourceforge.net>"
echo "syntax: dvddirdel [-o DIR]"
echo " deletes a previously authored DVD directory structure in DIR"
exit 1
fi
if [ -d "$WORKDIR" ]; then
rm -f "$WORKDIR/VIDEO_TS"/VIDEO_TS.VOB
rm -f "$WORKDIR/VIDEO_TS"/VIDEO_TS.IFO
rm -f "$WORKDIR/VIDEO_TS"/VIDEO_TS.BUP
rm -f "$WORKDIR/VIDEO_TS"/VTS_??_?.VOB
rm -f "$WORKDIR/VIDEO_TS"/VTS_??_0.IFO
rm -f "$WORKDIR/VIDEO_TS"/VTS_??_0.BUP
rmdir "$WORKDIR/VIDEO_TS"
rmdir "$WORKDIR/AUDIO_TS"
rmdir "$WORKDIR"
fi
|