Removing DS_Store files and variants?
Posted
by
Ron Gejman
on Server Fault
See other posts from Server Fault
or by Ron Gejman
Published on 2010-12-01T15:40:37Z
Indexed on
2011/01/12
23:55 UTC
Read the original article
Hit count: 372
Hi,
I am running an Ubuntu 10.04.1 LTS server. Frequently I open up files using AFP from my Mac. Inevitably this created .DS_Store files on the server (although for some reason they are named :2eDS_Store
. However, it also creates variants on DS_Store files. These variants are often named similarly to other files in that directory. E.g.:
~$ ls
total 60K
-rw-r--r-- 1 tarakhovsky 16K 2010-11-30 18:28 :2eDS_Store
drwx--S--- 4 tarakhovsky 4.0K 2010-11-08 13:58 :2eTemporaryItems/
lrwxrwxrwx 1 tarakhovsky 15 2010-10-19 17:44 bigdisk -> /media/bigdisk//
...
drwxr-xr-x 3 tarakhovsky 4.0K 2010-11-03 18:24 Temporary Items/
drwxr-xr-x 3 tarakhovsky 4.0K 2010-11-30 01:34 tmp/
...
I've disabled creation of DS_Store files using:
defaults write com.apple.desktopservices DSDontWriteNetworkStores true
so hopefully this won't continue to occur—but I really want to get rid of all of the existing variants of DS_Store files already on the server. Any ideas as to why these variants are being created and how I can get rid of them all?
© Server Fault or respective owner