At 10:15 -0700 4/16/11, JRC wrote: >Can I use BBEdit to a file's permission and/or ownership after I am >done editing it ? > >I have used BBEdit to make a small revision to a file and then saved >it. Now I am trying to change its permissions and ownership. I am >curious to learn if I can use BBEdit for this task instead of >Terminal.
You can surely do it with a BBEdit worksheet. The command would be: SetFile -t TYPE -c creator PathToFile Type and creator must be exactly 4 8-bit characters and quoting may be required to get that from your shell. You'll also need the tool which comes with Apple's Developer Tools. It's OK to have just the SetFile tool if it's in your $PATH somewhere. There is also GetFileInfo for the reverse. And the tool names are case sensitive even on case insensitive disks. It's because of the way the shell works. -- A billion seconds ago Jimmy Carter was president. A billion minutes ago was just after the time of Christ. A billion hours ago man had not yet walked on earth. A billion dollars ago was late yesterday afternoon at the U.S. Treasury. -- You received this message because you are subscribed to the "BBEdit Talk" discussion group on Google Groups. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at <http://groups.google.com/group/bbedit?hl=en> If you have a feature request or would like to report a problem, please email "[email protected]" rather than posting to the group. Follow @bbedit on Twitter: <http://www.twitter.com/bbedit>
