I have a Mac Pro (Snow Leopard 10.6.8) with several internal hard drives. Two of them are used only for backup purposes (one for Time Machine backups, one for cloning the startup disk using Chronosync), so I found a way to make them invisible on the Finder desktop using this Applescript:
(And replacing false with true to make it visible again).
The Time Machine drive has worked fine all along, but I only recently cloned the startup disk using the second backup drive and now I've gotten some strange problems:
1) It all started when I set up Chronosync to do a scheduled clone backup. I noticed that the desktop all of a sudden had two generic white document icons named "Client node" on the desktop. I assumed this had something to do with the backup drives being invisible while accessing them (well, one of the drives anyway).
2) Next I tried to make the drive icons visible. The Time machine backup drive showed up, but not the Clone backup drive. I tried several times, alternating between the "visible" and "invisible" script for that drive. No go.
3) Moving on I tried to boot with the clone backup drive. Worked fine, or so I think (it's hard to tell when the desktop looks the same, but I checked with the "Startup disk" system preference and it looked like the Cloned drive was set to startup drive.
4) Still invisible I found a web page explaining how to use terminal commands to make Finder icons visible/invisible, so I tried the following:
And presto! the missing icon showed up, but.... sort of halfway invisible as you can see below!!!
In addition a generic white document icon pops up on the desktop named ".DS_Store". That's supposed to be an invisible file, isn't it?
Taking a wild guess I'm thinking all of this has something to do with file-ownerships as I've set up the Mac with an administrator user and a normal user. The "normal" user is what I use every day, so whenever I install something new etc. I'm asked for the administrator username/password. In addition, I have a separate drive for OSX and all my apps (as well as the administrator user area), the "System" drive. My "Files" drive is where I keep all my other stuff as well as the user area for my "normal" (non-administrator) user.
So what's the cause of all this and is there a safe way to remove the "Backup (TM)" and "Backup (clone)" drive icons from the Finder desktop (I don't mind having them in the Finder sidebar windows though, if that's still possible) without causing any further issues?
Code:
quit application "Finder"
tell application "System Events" to ¬
set visible of disk "Backup (clone)" to [COLOR="Red"]false[/COLOR]
delay 1
launch application "Finder"
The Time Machine drive has worked fine all along, but I only recently cloned the startup disk using the second backup drive and now I've gotten some strange problems:
1) It all started when I set up Chronosync to do a scheduled clone backup. I noticed that the desktop all of a sudden had two generic white document icons named "Client node" on the desktop. I assumed this had something to do with the backup drives being invisible while accessing them (well, one of the drives anyway).
2) Next I tried to make the drive icons visible. The Time machine backup drive showed up, but not the Clone backup drive. I tried several times, alternating between the "visible" and "invisible" script for that drive. No go.
3) Moving on I tried to boot with the clone backup drive. Worked fine, or so I think (it's hard to tell when the desktop looks the same, but I checked with the "Startup disk" system preference and it looked like the Cloned drive was set to startup drive.
4) Still invisible I found a web page explaining how to use terminal commands to make Finder icons visible/invisible, so I tried the following:
Code:
defaults write com.apple.finder AppleShowAllFiles TRUE
killall Finder

In addition a generic white document icon pops up on the desktop named ".DS_Store". That's supposed to be an invisible file, isn't it?
Taking a wild guess I'm thinking all of this has something to do with file-ownerships as I've set up the Mac with an administrator user and a normal user. The "normal" user is what I use every day, so whenever I install something new etc. I'm asked for the administrator username/password. In addition, I have a separate drive for OSX and all my apps (as well as the administrator user area), the "System" drive. My "Files" drive is where I keep all my other stuff as well as the user area for my "normal" (non-administrator) user.
So what's the cause of all this and is there a safe way to remove the "Backup (TM)" and "Backup (clone)" drive icons from the Finder desktop (I don't mind having them in the Finder sidebar windows though, if that's still possible) without causing any further issues?
Last edited: