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
Preventing name change to external HFS+ disk
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="technologist" data-source="post: 929192" data-attributes="member: 4134"><p>It's a bad idea to have a script depend on a fixed pathname. You should probably rewrite it to identify the volume based on some other combination of characteristics (You could, for example, put a locked, write-disabled file with a particular name on the disk.) and then refer to it by volume ID.</p><p></p><p>Once you've got the ID, you can do whatever cleanup you want, and even rename the disk back to whatever you want it to be.</p></blockquote><p></p>
[QUOTE="technologist, post: 929192, member: 4134"] It's a bad idea to have a script depend on a fixed pathname. You should probably rewrite it to identify the volume based on some other combination of characteristics (You could, for example, put a locked, write-disabled file with a particular name on the disk.) and then refer to it by volume ID. Once you've got the ID, you can do whatever cleanup you want, and even rename the disk back to whatever you want it to be. [/QUOTE]
Verification
Post reply
Forums
Apple Computing Products:
macOS - Operating System
Preventing name change to external HFS+ disk
Top