|
![]() |
Overclock.net - Overclocking.net > Software, Programming and Coding > Operating Systems > Mac | |
Looking for Apple Scripters!
|
||
![]() |
|
|
LinkBack | Thread Tools |
|
|
#1 (permalink) | |||||||||||||
|
Linus Torvalds is my hero
|
I'm looking for some people who have Macs and would like to contribute to my GUI interface F@H installer. If you'd like to help please post in
http://www.overclock.net/overclock-n...ler-linux.html Thanks in advance. GodofGrunts
__________________
Looking for a Folding at Home GUI installer? Look no further. Quote:
Quote:
|
|||||||||||||
|
|
|
|
#2 (permalink) | |||||||||||||
|
Multi-Quote King
|
Like I said, if I knew two things:
1. How to download via terminal 2. How to unzip a .tgz I'd be able to do it. Alternatively, if I knew how to use Apple script to automate the entire process through GUI programs... I'd be able to do it.
__________________
"But you would be amazed by how many people think that the only reason to have a computer is to play games, and that playing games is all that anyone with a computer does." - dangerousHobo "Linux is everywhere, it is all around us, even now in this very room. You can see it when you look out your window, or you turn on your television. You can feel it when you go to work, when you go to church, when you pay your taxes. " - mbp"I have used a mac before. And they still don't have right click I mean come on." - aakar Blah, blah, can't hear you
|
|||||||||||||
|
|
|
|
#3 (permalink) | |||||||||||||
|
Linus Torvalds is my hero
|
I know that's what you said, but I don't know how to either so I'm trying to find somebody else on OCN who can. If not I guess I'm going to have to do some research...
__________________
Looking for a Folding at Home GUI installer? Look no further. Quote:
Quote:
|
|||||||||||||
|
|
|
|
#4 (permalink) | |||||||||||||
|
Apple Doesn't Love You
|
Isn't .tgz synonymous with .tar.gz? If so OSX includes the tar utility, so 'tar -xzf foo.tgz'
|
|||||||||||||
|
|
|
|
#5 (permalink) | |||||||||||||
|
Multi-Quote King
|
Gotcha. Now if I only knew how to download via console, I could make this script.
Ok, here's the text. Just copy/paste this into a .sh file: Code:
#! /bin/bash [insert code here to download file to ~/Desktop] mkdir /Applications/FAH mv ~/Desktop/FAH6.02beta1-OSX-Intel-Console.tgz /Applications/FAH/FAH.tgz cd /Applications/FAH/ tar -xzf /Applications/FAH/FAH.tgz rm /Applications/FAH/FAH.tgz echo Installed!
__________________
"But you would be amazed by how many people think that the only reason to have a computer is to play games, and that playing games is all that anyone with a computer does." - dangerousHobo "Linux is everywhere, it is all around us, even now in this very room. You can see it when you look out your window, or you turn on your television. You can feel it when you go to work, when you go to church, when you pay your taxes. " - mbp"I have used a mac before. And they still don't have right click I mean come on." - aakar Blah, blah, can't hear you
Last edited by The Hundred Gunner : 06-07-08 at 08:22 PM. |
|||||||||||||
|
|
|
|
#6 (permalink) | |||||||||||||
|
Apple Doesn't Love You
|
Code:
ftp http://www.whatever.com/foobar.abc ~/something/foobar.abc I think for osx you need to download a .dmg file.
Last edited by rabidgnome229 : 06-07-08 at 08:26 PM. |
|||||||||||||
|
|
|
|
#7 (permalink) | ||||||||||||||
|
OLPC XO developer
![]() |
__________________
"UNIX was never designed to keep people from doing stupid things, because that policy would also keep them from doing clever things." - Doug Gwyn Try out the latest Programming Challenge Quote:
CPU-Z Validation @ 2.97-prime95 stable 16 hours @ 1.48v Proof | CPU-Z Validation @ 3.15 Getting Mouse Side Buttons to work in Linux, Compile a custom Kernel, More
|
||||||||||||||
|
|
|
|
#8 (permalink) | |||||||||||||
|
Multi-Quote King
|
Yay! It works! Here, put this code into a .sh file:
Code:
#! /bin/bash cd ~/Desktop ftp http://www.stanford.edu/group/pandegroup/folding/release/FAH6.02beta1-OSX-Intel-Console.tgz mkdir /Applications/FAH mv ~/Desktop/FAH6.02beta1-OSX-Intel-Console.tgz /Applications/FAH/FAH.tgz cd /Applications/FAH/ tar -xzf /Applications/FAH/FAH.tgz rm /Applications/FAH/FAH.tgz echo Installed! 1. Downloads the .tgz file to the desktop 2. Makes a folder in /Applications called /Applications/FAH (programs are usually stored in /Applications in OSX) 3. Unzips the .tgz file into this new folder 4. Deletes the .tgz file Some things to note: 1. The FAH appears to be SMP-only. Whenever it is run, it must use the -smp flag. 2. You probably need to make a shortcut or alias or link or something that will allow you to click and run fah6 with the -smp flag. 3. So far as I can tell, the program must still be opened with the Terminal; I haven't made a shortcut or anything to test it yet. Is there anything else you'd like?
__________________
"But you would be amazed by how many people think that the only reason to have a computer is to play games, and that playing games is all that anyone with a computer does." - dangerousHobo "Linux is everywhere, it is all around us, even now in this very room. You can see it when you look out your window, or you turn on your television. You can feel it when you go to work, when you go to church, when you pay your taxes. " - mbp"I have used a mac before. And they still don't have right click I mean come on." - aakar Blah, blah, can't hear you
Last edited by The Hundred Gunner : 06-07-08 at 11:39 PM. |
|||||||||||||
|
|
|
|
#9 (permalink) | |||||||||||||
|
Linus Torvalds is my hero
|
Wow thanks guys!
__________________
Looking for a Folding at Home GUI installer? Look no further. Quote:
Quote:
|
|||||||||||||
|
|
|
|
#10 (permalink) | ||||||||||||||
|
Apple Doesn't Love You
|
Quote:
|
||||||||||||||
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
|
|