it works perfect, thx for the help.
Do you know a way that i do not have to type all the names of the movies i want to convert ( <list of files to convert> )
So when i run the script in a certain folder it takes all .avi files that are in that folder to convert them (would save me some work, total is about 200 movies to convert
)
Now i placed 10 movies in a folder and typed their names in the <list of files to convert> so it starts with those 10, but it would be nice not to have to type all the movie titles before converting.
Is there a way that when you execute the script that before it starts converting you first get the question to restart (r), shutdown (s), leave computer on (l)
so after you press r, s or l the conversion starts and then after all is converted the system shuts down or restart or does nothing?
For this i thing about
:
[code]echo "When converting is done would you like to Restart (r), Shot down (s) or leave the computer on (l)"
if [r] restart,
if [s] shutdown
if [l] do nothing
but im not a good scripter, so i know the way i put it here will not work (but i dont know the good way)