You are not logged in.
Hello all! I need someone who could create a very simple script for me. I use growisofs to burn Xbox360 games and I use this line:
growisofs -use-the-force-luke=dao -use-the-force-luke=break:1913760 -dvd-compat -speed=2 -Z /dev/dvd=game.iso
As you can see, it's a very long line, so I can't remeber it.
So, I just need a simple script that use that line, so I won't have to type it myself.
I want something very easy. Only something that it would launch like that:
scriptname game.iso
Thanks
Last edited by froli (2009-04-29 22:20:14)
archlinux on Macbook Pro 10,1
Offline
#!/bin/bash
growisofs -use-the-force-luke=dao -use-the-force-luke=break:1913760 -dvd-compat -speed=2 -Z /dev/dvd="$1"
That should do the trick! Just save that and chmod +x it. Then:
./scriptname game.iso
|
V That works also. Its better than mine. Mine is just too simple.
Last edited by haxit (2009-04-29 22:16:39)
Archi686 User | Old Screenshots | Old .Configs
Vi veri universum vivus vici.
Offline
#!/bin/bash
if [ -z "$1" ]; then
echo usage: $0 image.iso
fi
growisofs -use-the-force-luke=dao -use-the-force-luke=break:1913760 -dvd-compat -speed=2 -Z /dev/dvd=$1
oops too late oh well
Last edited by evr (2009-04-29 22:16:16)
Offline
#!/bin/bash if [ -z "$1" ]; then echo usage: $0 image.iso fi growisofs -use-the-force-luke=dao -use-the-force-luke=break:1913760 -dvd-compat -speed=2 -Z /dev/dvd=$1
oops too late oh well
Thank you!! It works
archlinux on Macbook Pro 10,1
Offline
you're welcome
#!/bin/bash growisofs -use-the-force-luke=dao -use-the-force-luke=break:1913760 -dvd-compat -speed=2 -Z /dev/dvd="$1"
That should do the trick! Just save that and chmod +x it. Then:
./scriptname game.iso|
V That works also. Its better than mine. Mine is just too simple.
there's nothing wrong with simple I just thought i'd throw in a little stupidity checking
Offline
Wow! In 15 minutes I got the answer to my question. That's a big part off why I use linux
This community idea is so great!
archlinux on Macbook Pro 10,1
Offline
Notwithstanding the greatness of the script - but I'd rather put one liners in my .bashrc with a handy alias...
never trust a toad...
::Grateful ArchDonor::
::Grateful Wikipedia Donor::
Offline