case "$(basename $0)" in
"rip.tv.sh")
[tv-dvd rip procedure]
;;
"rip.movie.sh")
[movie-dvd procedure]
;;
"rip.trailer.sh")
[music video or trailer rip procedure]
;;
esac
Of course, in order to use this, you then have to symlink (or hard link, your choice) the alternate names to the script to the actual script.
No comments:
Post a Comment