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 > Mac OS X Hidden Files Copied to Windows Server

Mac OS X Hidden Files Copied to Windows Server
Thread Tools
RyanG3
Forum Regular
Join Date: Feb 2001
Status: Offline
Reply With Quote
Mar 3, 2005, 12:23 PM
 
At work I'm required to copy folders containing many files to our Windows server, which then runs a report on the files, unfortunately the app that runs the report gets confused by all the invisible files Mac OS X creates.

Is there a way to eliminate Mac OS X's invisible files before I copy the folder of files to the Windows server?? Example the ._DS_Store, and any other ._files.

I'm not a techie or AppleScript person and according to the IT department here at work, they can't make their reporting app ignore the OS X hidden files and put the burden back on me to find away around it on the Mac side.

Any help would be appreciated.

Thank you.
PowerMac G5 Dual 2G, 10.4.x, 2G RAM, Radeon 9800 Pro, 23" Cinema Display
PowerBook G4 667, 10.4.x, 512 RAM
     
SMacTech
Mac Elite
Join Date: Nov 2001
Location: Trafalmadore
Status: Offline
Reply With Quote
Mar 3, 2005, 02:16 PM
 
Whoever is writing the reports doesn't know how to code properly, especially with a fixed filename like .DS_Store

You don't have to copy these files, they will get created automatically by the OS X clients browsing the shares from the server. If they are being created locally get a program like TinkerTool, which allows you to easily configure the Finder to show invisible files and manually delete them before you copy them to the server.

Have your IT staff write a script that runs on the server to eliminate them before backups or something clever. I did it, it wasn't very hard.
     
theolein
Addicted to MacNN
Join Date: Feb 2001
Location: zurich, switzerland
Status: Offline
Reply With Quote
Mar 3, 2005, 06:49 PM
 
If the paths to the server are know, then you can create a minimal Applescript which will delete the .DS_Store file when you're done copying. You could possibly even make a folder action which does the job.

Also, since the .DS_Store file is only created when you browse the folder on your Mac, but not when you simply drop files on the folder icon, you can avoid the issue by simply having an alias on your desktop to the network share and simply dropping the files on the folder icon, and NOT waiting for the spring loaded action to open the folder, because that will then create the DS_Store file.

Alternatively, if you're comptent in the terminal, you can do your copying from there and no DS_Store will be added. You could even copy the files that need to go to the server to a folder on your desktop that has a folder action to copy those files to the server.

There are many solutions to your problem, but the real problem is that your sys admins seem incompetent, since a really trivial windows batch file or vbs script can delete all those .DS_Store files in a hierarchy with no problem whatsoever before starting the reporting app.
weird wabbit
     
RyanG3  (op)
Forum Regular
Join Date: Feb 2001
Status: Offline
Reply With Quote
Mar 3, 2005, 08:43 PM
 
Thanks for your responses!
PowerMac G5 Dual 2G, 10.4.x, 2G RAM, Radeon 9800 Pro, 23" Cinema Display
PowerBook G4 667, 10.4.x, 512 RAM
     
Macola
Mac Elite
Join Date: Mar 2001
Location: Madison, WI
Status: Offline
Reply With Quote
Mar 3, 2005, 11:27 PM
 
If you want to clean up all hidden files on the SMB volume (including the resource forks) check on VersionTracker for an app called CleanUp SMB Mess. It does a nice job.
I do not like those green links and spam.
I do not like them, Sam I am.
     
RyanG3  (op)
Forum Regular
Join Date: Feb 2001
Status: Offline
Reply With Quote
Mar 4, 2005, 01:38 PM
 
Originally posted by Macola:
If you want to clean up all hidden files on the SMB volume (including the resource forks) check on VersionTracker for an app called CleanUp SMB Mess. It does a nice job.

Great! Thanks!
PowerMac G5 Dual 2G, 10.4.x, 2G RAM, Radeon 9800 Pro, 23" Cinema Display
PowerBook G4 667, 10.4.x, 512 RAM
     
   
 
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 08:36 PM.
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.,