Date: Sun, 18 Jun 2006 10:25:19 +0100
From: Ruth Bygrave <email@hidden>
Subject: Dot files
To: AppleScript Users <email@hidden>
Message-ID: <email@hidden>
Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed
Why do I get unwanted dot files (.DS Store and _DS Store)? on my
flash drive? Sometimes there are also ghost files (hidden files of 1k
with the same name as an actual file) which stop the flash drive
working properly.
I have a vague idea these are to do with Spotlight indexing or
something, and keep trying to get Spotlight not to index the flash
drive without success--so far I tried selecting the flash drive's
icon from the Add function of the Spotlight Prefs/Privacy pane, which
didn't work, and then trying to drag the icon of the flash drive to
the Spotlight Prefs/Privacy pane (which also didn't work), and trying
to drag the flash drive's icon from the Sidebar (which merely deleted
it while having no effect whatsoever on Spotlight).
I never use the flash drive for anything that needs Spotlight
indexing. In general, it's used for moving files to the XP box (which
has the DVD burner), and there's no point in using either Trash or
Spotlight indexing.
Is there any way I can force the Applescript commands I use for file
copying (backup from Smile, or just the Finder) to avoid creating
junk files? Also, is there a good way to avoid using the Trash with
flash drives, either by using scripts or by setting it up in some way?