Re: Is Mac a security hazard in a Windows network
- From: Gnarlodious <gnarlodious@xxxxxxxxx>
- Date: Wed, 05 Oct 2005 20:14:08 GMT
I'd also suggest you run a script after you're finished browsing a Windows
box to clear out Mac files which are only visible to Windows users.
Here's an Applescript I use:
set someFolder to quoted form of (POSIX path of (choose folder) as string)
"find -d " & someFolder & " -name \"\\.DS_Store\" -exec rm -f {} \\; ;find
-d " & someFolder & " -name \"\\._*\" -exec rm -f {} \\;;find -d " &
someFolder & " -name \"\\.FBCLockFolder\" -exec rm -fR {} \\;;find -d " &
someFolder & " -name \"\\.FBCIndex\" -exec rm -f {} \\;"
tell application "Terminal" to do script result
Note that the middle line is all one line and you should unwrap it or it
won't compile.
When you are finished browsing the mounted disk, run this script and choose
the mounted disk you want to clear out.
There is probably a shorter command for this, if anyone knows how to
wildcard the target files post it here.
-- Gnarlie's Applescript page:
http://Gnarlodious.com/Apple/AppleScript/
.
- Follow-Ups:
- Re: Is Mac a security hazard in a Windows network
- From: Wes Groleau
- Re: Is Mac a security hazard in a Windows network
- References:
- Is Mac a security hazard in a Windows network
- From: Ola Thoen
- Re: Is Mac a security hazard in a Windows network
- From: tacit
- Is Mac a security hazard in a Windows network
- Prev by Date: Re: Act! Contact Manager for Mac?
- Next by Date: Re: PC user needs help with mac
- Previous by thread: Re: Is Mac a security hazard in a Windows network
- Next by thread: Re: Is Mac a security hazard in a Windows network
- Index(es):
Relevant Pages
|