Extra Apple files when saving to USB disk - ehMac.ca
Facebook
Twitter
YouTube
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read


Reply
 
LinkBack Thread Tools Display Modes
Old Feb 24th, 2004, 07:57 PM   #1
Full Citizen
 
Join Date: Oct 2003
Location: Toronto
Posts: 107
Post

Any one notice when you save a file (say word document) on USB storage and read the USB disk on windows XP, there are additional files with a naming convention ".filename"

Anyone know why Apple creates these files what the extra files are for?

[img]tongue.gif[/img]
__________________
17inch Powerbook G4, 1.33Ghz, IGB RAM, iPod, Fujifilm Finepix
MacAttack is offline   Reply With Quote
Sponsored Links
Advertisement
 
Old Feb 24th, 2004, 08:54 PM   #2
Honourable Citizen
 
PosterBoy's Avatar
 
Join Date: Jan 2002
Location: Vancouver, British Columbia
Posts: 6,749
Send a message via AIM to PosterBoy Send a message via MSN to PosterBoy
Post

The Coles note version is that Mac OS creates files with two "forks", the data fork and the resource fork. The data fork contains all the files data and the resource fork contains any and all meta data.

Since Windows doesn't use the resource data, when a file is copied to a windows format disk (such as your USB drive) Mac OS X splits the resource data into a separate file. So if you copy "picture.jpg" to a windows disk you end up with both that file and also ".picture.jpg", the leading period makes the file invisible in OS X (and other flavours of *NIX as well). When you copy "picture.jpg" back to a Mac formatted disk the two files are recombined.

Why does it split the data into a separate file? I can't remember exactly, but probably something to do with the way windows might (mis)interpret the information.
__________________
Awesome Friday! movies, games, and other nerdy things.
PosterBoy is offline   Reply With Quote
Old Feb 24th, 2004, 09:09 PM   #3
Full Citizen
 
Join Date: Oct 2003
Location: Toronto
Posts: 107
Post

Thanks poster boy.. that was quite informative...

So if I delete teh ".filename" file, windows can still read the file.. Now if I were to put that in mac, will MAC not be able to read the file without the ".filename" file?
__________________
17inch Powerbook G4, 1.33Ghz, IGB RAM, iPod, Fujifilm Finepix
MacAttack is offline   Reply With Quote
Old Feb 24th, 2004, 09:18 PM   #4
Honourable Citizen
 
PosterBoy's Avatar
 
Join Date: Jan 2002
Location: Vancouver, British Columbia
Posts: 6,749
Send a message via AIM to PosterBoy Send a message via MSN to PosterBoy
Post

If you delete the ".picture.jpg" file, a Mac will still be able to use the file, after all all of the data is contained in the data fork. What you will lose is the creator type codes, modification dates, any labels you may have assigned, etc.

For example, if you create a the file "picture.jpg" with Photoshop and then copy it to a PC, delete the .picture.jpg file and copy it back, the file will show up as a generic jpeg file instead of a photoshop jpeg.

Not a big deal in Mac OS X (at this point) because it relies more on filename extensions than anything else when it decides how to deal with files, but Mac OS 9 did most of its' work with meta data and lots of people, myself included, view it as a much better way to deal with files (because it stores a lot of information, it makes for a much richer experience).
__________________
Awesome Friday! movies, games, and other nerdy things.
PosterBoy is offline   Reply With Quote
Old Feb 25th, 2004, 04:28 PM   #5
Honourable Citizen
 
gordguide's Avatar
 
Join Date: Jan 2001
Location: Saskatoon
Posts: 5,244
Post

Filenames preceded by a period, eg:
.whatever
... are hidden (invisible) in MacOSX. They are visible in OS9 and in Windows.

Earlier Mac files have a data fork and a resource fork. The data fork is the file itself, while the resource fork is information about the file; which program created it, what kind of file it is, etc. The resource fork is always invisible in Classic Mac OS's, but visible in other OS's like Windows or UNIX. It's "supposed" to be visible in OSX as well, but for compatibility reasons OSX hides them from us.

Under OS9 file extensions weren't used, and the resource fork is why they weren't necessary. Windows users sometimes click on the resource fork and find it's empty or doesn't open, and this confuses them. The data fork itself opens fine and is the "real" file as far as non-Mac systems are concerned.

Losing the resource fork can cause problems in OS9; the "generic icon" is one. If a PhotoShop TIFF file is, for example, saved with layers another program that can open TIFFs may not be able to deal with the layers.

Unlike Classic Mac OS's, Windows and UNIX don't associate the two forks as being "joined" and sometimes send just the data fork when transferring files. The solution is to use a Mac compression utility which will insure they stay together while stored or traveling on a non-Mac system.

If the resource fork is missing, Mac users will see a dialog that the file can't be opened even thought it was created on the same computer; it's because the computer guessed at the wrong program to try to open it, or an incompatible program was set to open unknown TIFFs. If the resource fork is included, the Mac will simply launch PhotoShop and the problem isn't apparent. This can be annoying but usually can be fixed by opening the file from within PhotoShop's "File: Open" dialog instead of double-clicking in the finder. This assumes you know it's a PS file; if you don't know then it might take a bit of playing around to figure out how to open it.

OSX doesn't use resource forks, so now we have file extensions just like Windows. OSX will, however preserve the resource fork, as it is designed to be compatible with OS9.

.DesktopDB
.DesktopDF
.DSstore
are some files that will show up on Windows systems from OSX volumes or computers. They can be ignored or deleted; they are used to remember such things as window position and size, icon locations, etc on a Mac computer.

You can use Toast or freeware DSstoreCleaner to remove them from your removable media so Windows XP users don't see them and get confused by them.

[ February 25, 2004, 04:43 PM: Message edited by: gordguide ]
gordguide is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting 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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
PC Virus... slim jim Anything Mac 30 Nov 25th, 2005 12:37 AM
Disk Space and monitoring what files are where... The Librarian Mac, iPhone, iPad and iPod Help & Troubleshooting 3 Dec 14th, 2004 09:53 PM
Apple ID & dotMac consolidate! Strongblade Anything Mac 1 Apr 4th, 2003 07:07 PM
NY Times piece: Apple losing ground... Ohenri Anything Mac 6 Feb 19th, 2003 12:44 PM
How Wired sees us Britnell Anything Mac 11 Dec 4th, 2002 05:56 PM


All times are GMT -4. The time now is 09:27 AM.



Copyright © 1999 - 2012, ehMac.ca All rights reserved. ehMac is not affiliated with Apple Inc. Mac, iPod, iTunes, iPhone, Apple TV are trademarks of Apple Inc. Content Relevant URLs by vBSEO 3.6.0 RC 2

Tribe.ca: Urban living in Toronto!