Hi,
I have a bash shell script on my Mac, that I need to convert to a .bat file (at least, that's what I've been told) for users that are on PCs. I was wondering the best way to go about this, or if anyone knows of any good references. I don't seem to be asking Google the right question to point me in the right direction.
Specifically, things like how would I do a...
cd ~/Documents/DropFolder
(...where ~/ equals the root of the user's home directory, regardless of the user's name)?
Or, when working on variables and "do" statements...
for i in *.xml
do
java -Xss650K -Xms128m -Xmx2048m -jar /Applications...
done
And finally, identifying and using basenames...
cp -p `basename $i .xml`.xml ~/Documents/ReadyForServer/`basename $i .xml`/
Thanks for any guidance, or suggestions for other solutions. LO