Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > macOS > Delete invisible files when transferring to Windows share?

Delete invisible files when transferring to Windows share?
Thread Tools
Macola
Mac Elite
Join Date: Mar 2001
Location: Madison, WI
Status: Offline
Reply With Quote
Oct 25, 2002, 09:20 PM
 
Couldn't find this in a search (here or Versiontracker), but...

Is there a utility that deletes/prevents copying OS X invisible files (the "._filename" variety) when copying over to a Windows shared volume? I'm one of a few Macs connecting to a large PC network, and these files are very annoying to other users, and even to myself. I can obviously delete them manually, but I'd rather not have them copied over in the first place.
     
Macola  (op)
Mac Elite
Join Date: Mar 2001
Location: Madison, WI
Status: Offline
Reply With Quote
Oct 26, 2002, 09:30 PM
 
Help??
     
Colddiver2
Junior Member
Join Date: Oct 2001
Location: Canada
Status: Offline
Reply With Quote
Oct 27, 2002, 06:38 AM
 
I have yet to find a way to prevent this myself. Sharity used to have an option "disable resource forks" or something like that. However, in the last version, the option disappeared (or got renamed). Having this option checked prevented the appearance of these ._* files but also prevented any copying, renaming and saving from the Finder or any Mac app. Files could only be copied, moved or renamed using the terminal (cp command).

Colddiver


Faith, indeed, has up to the present not been able to move real mountains.... But it can put mountains where there are none.

- Friedrich Nietzche
     
Stefan
Forum Regular
Join Date: Apr 2000
Location: Germany
Status: Offline
Reply With Quote
Oct 27, 2002, 10:40 AM
 
there's a free contexual menu plugin called GrimRipper that deletes the recource fork
     
CharlesS
Posting Junkie
Join Date: Dec 2000
Status: Offline
Reply With Quote
Oct 27, 2002, 11:11 AM
 
This command line should delete the ._files.

find <root directory containing the dot files> -name ._\* -exec rm {} \;

This command line should delete .DS_Store files.

find <root directory containing the dot files> -name .DS_Store -exec rm {} \;

The command lines use rm, so use with caution. A typo can cause these to recursively wipe out every file in the directory. You have been warned!

Ticking sound coming from a .pkg package? Don't let the .bom go off! Inspect it first with Pacifist. Macworld - five mice!
     
Macola  (op)
Mac Elite
Join Date: Mar 2001
Location: Madison, WI
Status: Offline
Reply With Quote
Oct 28, 2002, 03:07 PM
 
Originally posted by Stefan:
there's a free contexual menu plugin called GrimRipper that deletes the recource fork
Thanks--I'll give that a try.
     
Mactoid
Grizzled Veteran
Join Date: Sep 2000
Location: Springfield, MA
Status: Offline
Reply With Quote
Oct 28, 2002, 10:57 PM
 
Could one use a Folder Action on a windows directory that deleted the invisible files whenever a file is added? I would test this out myself, but I'm ashamed to say I've never figured out how to attach Folder Actions in OS X!
We hope your rules and wisdom choke you / Now we are one in everlasting peace
-- Radiohead, Exit Music (for a film)
     
   
 
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Top
Privacy Policy
All times are GMT -4. The time now is 05:44 AM.
All contents of these forums © 1995-2017 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.8 © 2000-2017, Jelsoft Enterprises Ltd.,