Mac GeekeryGet your geek on. |
|
blog advertising is good for you
recent popular content
User login
|
First off hi. I am hoping that I can find a solution to my dilema. First off I am extremely new to AppleScripting. So, please be kind. I am trying to write a script that will pull relevant system info from the system_profiler and dump it into either a xml or txt file. Now I was under the impression that do shell script “system_profiler -detailLevel full -xml Systemdump.xml” would do it. When I run it it seems to work but I do not get a response. Basically what I need is a script sitting on a USB key that I can run on a clients system and have it generate to (the key preferably) but on the desktop is fine to. Any help would be appreciated. Thanks!
About Tense
|
you forgot the output redirect, how new are u to unix? the command should probibly go like this “system_profiler -detailLevel full -xml > Systemdump.xml”
this will put the file systemdump into whatever foulder your applescript executed from.
Unix? Oh, about 28 hours now. Still doesn’t work. It runs.. syntax checks out. Nothing happens. Doesn’t produce the xml file, though no errors.
I appreciate your help. Any idea’s?
I have solved it. If anyone wants the script. It asks for a filename and than saves it as that.
can u make attachments to blogposts?