yichao firstname, zeaster nickname, zhang lastname

sth about .DS_Store files

from
http://docs.info.apple.com/article.html?artnum=107822
http://docs.info.apple.com/article.html?artnum=301711

1. To delete all the .DS_Stores on your drive (use Terminal.app or xterm to execute this command):
sudo find / -name \.DS_Store -print -delete

2.
this is just a suggested thing for people to do so that their XP drive wont have the .DS_Store files on it everywhere...
Prevent the .DS_Store files from being created
a.    Open the Terminal (Macintosh HD > Applications > Utilities > Terminal)
b.    Type: "defaults write com.apple.desktopservices DSDontWriteNetworkStores true"
c.    Press Return
d.    Type: "cp Library/Prefrences/com.apple.desktopservices.plist /Library/Prefrences/"
e.    Press Return
f.    Type: "sudo chmod 777 /Library/Prefrences/com.apple.desktopservices.plist"
g.    Press Return
h. You will be prompted for your password.
i. Press Return
j.    Restart the computer

Mac OS X 10.4: How to prevent .DS_Store file creation over network connections
This article contains advanced material intended only for those who are looking for information on .DS_Store files. If you do not already have an opinion on this matter, you can disregard this article.

To configure a Mac OS X user account so that .DS_Store files are not created when interacting with a remote file server using the Finder, follow the steps below.
Note: This will affect the user's interactions with SMB/CIFS, AFP, NFS, and WebDAV servers.

Open the Terminal.
Type:
defaults write com.apple.desktopservices DSDontWriteNetworkStores true
Press Return.
Restart the computer.
If you want to prevent .DS_Store file creation for other users on the same computer, log in to each user account and perform the steps above—or distribute a copy of your newly modified com.apple.desktopservices.plist file to the ~/Library/Preferences folder of other target users.

These steps do not prevent the Finder from creating .DS_Store files on the local volume. These steps do not prevent previously existing .DS_Store files from being copied to the remote file server. Please note that disabling the creation of .DS_Store files on remote file servers can cause unexpected behavior in the Finder (details on the following).

Mac OS X: Get Info Comments May Not Appear for Remote Volumes
When you add or edit a Get Info comment for an item on a server volume, the change is not visible to other clients or at the server itself.   

Mac OS X treats comments as a Finder property, such as icon position and view setting. Writing of these properties is local, which means your changes are not saved back to the server. Thus someone connecting to the server from a different computer may not see the Get Info comments you add to an item on the server from another remote client of the server.

For a comment to be visible to all clients, it may be changed at the server itself (see Note 2).

Notes
Comment changes do not appear to clients immediately, but they will eventually.
Copying a folder to the server yields a different result than editing an existing file or folder. Comments for that folder and items within it will be transferred when you copy it. If you must modify a comment on the server from a client, a user with adequate privileges may do so in this manner.

No comments: