Converting a .bat executable to Mac

Posted by Wes on Super User See other posts from Super User or by Wes
Published on 2012-06-22T17:00:26Z Indexed on 2012/06/23 3:18 UTC
Read the original article Hit count: 260

Filed under:
|
|
|

I need some help converting a .bat executable file that I run on our PC at my job so that it works on a mac. Before we upload tar files to our website we run this script which to the best of my knowledge simply unlocks all of the permissions to the tar and all the images within.

If someone could help me in "translating" it to run on my Mac that would be awesome! I was hoping I could set up something in Automator

Here's the code

del images5.tar

move images4.tar images5.tar

move images3.tar images4.tar

move images2.tar images3.tar

move images.tar images2.tar

cd ..

tar --mode=777 -rvf images.tar *.jpg

tar --mode=777 -rvf images.tar p

move images.tar ./tarpics

© Super User or respective owner

Related posts about osx

Related posts about conversion