Help with Linux bash script.

Come up with a useful post-processing script? Share it here!
Post Reply
ppan76
Newbie
Newbie
Posts: 3
Joined: October 27th, 2009, 12:50 pm

Help with Linux bash script.

Post by ppan76 »

I want to "TRY" to write a script that will run the following command.

----------------------------------------------------
/usr/bin/thumber/thumber PATHOFMOVIES
----------------------------------------------------

So for example if the movie "Star Wars" was downloaded and uncompressed in a folder "/media/complete/movies/Star Wars"

I want a script that will run

/usr/bin/thumber/thumber /media/complete/movies/Star\ Wars

What variable is passed for "/media/complete/movies/Star\ Wars"??

Thanks.
Thumber basically is a script that takes 10 thumbnails from a compatible movie.
ppan76
Newbie
Newbie
Posts: 3
Joined: October 27th, 2009, 12:50 pm

Re: Help with Linux bash script.

Post by ppan76 »

i think I found it.

/usr/bin/thumber/thumber "$1"
ppan76
Newbie
Newbie
Posts: 3
Joined: October 27th, 2009, 12:50 pm

Re: Help with Linux bash script.

Post by ppan76 »

ppan76 wrote: i think I found it.

/usr/bin/thumber/thumber "$1"

nevermind the script worked. I had to change the permissions on the script. duh..
Last edited by ppan76 on October 27th, 2009, 8:33 pm, edited 1 time in total.
Post Reply