Forums
New posts
Articles
Product Reviews
Policies
FAQ
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Menu
Log in
Register
Install the app
Install
Forums
Apple Computing Products:
macOS - Operating System
Creating hard link from command line OS X 10.6.7
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="jblocher" data-source="post: 1216049" data-attributes="member: 197035"><p>I've found an answer to my own problem, so I'll post it here for posterity.</p><p></p><p>The problem has to do with the editor being used, not the OS, so perhaps this post is miscategorized. </p><p></p><p>Most Mac editors, when editing a file, do what is called a "safe save" which means they actually delete and replace the file. This is true of TextEdit and TextWrangler, though not true of TextMate. I discovered by downloading a trial copy of TextMate that I could not replicate the problem, but didn't want to pay $60 for a text editor.</p><p></p><p>Instead, I emailed the folks at Bare Bones Software (TextWrangler) who told me how to disable this behavior in TextWrangler. Pull up a terminal window and enter the following command:</p><p></p><p>[CODE]defaults write com.barebones.textwrangler Filing:SafeSavesDisabled -bool YES[/CODE]</p><p></p><p>Now, when I use TextWangler to edit my file, the hard link is maintained.</p></blockquote><p></p>
[QUOTE="jblocher, post: 1216049, member: 197035"] I've found an answer to my own problem, so I'll post it here for posterity. The problem has to do with the editor being used, not the OS, so perhaps this post is miscategorized. Most Mac editors, when editing a file, do what is called a "safe save" which means they actually delete and replace the file. This is true of TextEdit and TextWrangler, though not true of TextMate. I discovered by downloading a trial copy of TextMate that I could not replicate the problem, but didn't want to pay $60 for a text editor. Instead, I emailed the folks at Bare Bones Software (TextWrangler) who told me how to disable this behavior in TextWrangler. Pull up a terminal window and enter the following command: [CODE]defaults write com.barebones.textwrangler Filing:SafeSavesDisabled -bool YES[/CODE] Now, when I use TextWangler to edit my file, the hard link is maintained. [/QUOTE]
Verification
Name this item 🌈
Post reply
Forums
Apple Computing Products:
macOS - Operating System
Creating hard link from command line OS X 10.6.7
Top