Jump to content

[INFO] Various Unix/Mac OS X terminal commands


  • Please log in to reply
82 replies to this topic

#81
AMDFTW

AMDFTW

    InsanelyMac Protégé

  • Members
  • Pip
  • 11 posts
very well compiled

#82
eddybaby

eddybaby

    InsanelyMac Protégé

  • Just Joined
  • Pip
  • 1 posts

------------------------------------------------------
More OS X Shell commands can be found at...

http://www.ss64.com/osx/index.html
-------------------------------------------------------


dear Korrupted

thanx muchly

for me, the best info came from the link above which, naturally, i din't notice til the last page

i came here following alotta googling
"open file at path mac"
which told me how to open a file from it's path via the terminal with incorrect syntax
"bash syntax error near unexpected token newline mac"
which is the error i got after using incorrect syntax [why can't poster's find a way of posting terminal commands for dummies like me?]
which led me to this post which didn't answer my problem, but looked so good i read it anyway
which led me to the link
which did

thanx again

by trial and error i found that if you have spaces or parentheses in your file paths you need to change them to "\ ", "\(" etc or you get more errors

all of this is prompted by my trying to turn the user unfriendly interface of the scan results of sophos av for mac into something useful

i started by using bbedit and quickeys to change the error log into an html file
but unfortunately sav considers any file with an encoding header [binhex, uu, yenc, etc] to be corrupt
i have a LOT of such files which means i have a lot of files to check
even having a link to each file is cumbersome for more than a couple
and so is searching for them with file buddy

i want to be able to open a list of them directly

well now i'm getting close
i can open the files in the terminal after tweaking the path names
but only one at a time

i think the next step is probably writing a bash script
but i haven't a clue about this
heck, i don't even know what bash is!

back to the google ...
;) :D

anyway, i liked your post so much, i joined the forum just to say thanx!
:D :)

#83
ziploc

ziploc

    InsanelyMac Protégé

  • Members
  • Pip
  • 1 posts
this is very useful, thanks for the tips!





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

© 2014 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Mac Netbook  |   PHP hosting by CatN  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy