here is a nice little function that cleans all those
._* .DS_Store , and .Trashes files/folder on the volume, and ejects the volume
cleanVolume("FlashDrive")
on cleanVolume(theVolume)
if (list disks) contains theVolume then
do shell script "find '/Volumes/" & theVolume & "' -name '.DS_Store' -exec rm '{}' \\;"
do shell script "find '/Volumes/" & theVolume & "' -name '._*' -exec rm '{}' \\;"
try
do shell script "rm -rd '/Volumes/" & theVolume & "/.Trashes'"
end try
try
tell application "Finder" to eject disk theVolume
end try
end if
end cleanVolume