Mac Answers »Apple Scripts »Delete finder.dat , resource fork ? |
|||
|
|
|||
|
John Humphrey wrote at: 2003-07-12 21:36:59
Delete finder.dat , resource fork ? | |||
|
All hail the AppleScripters. I copied a load of files from an OSX disk onto a disk I use in OS 9. As I understad it, I don't need all the finder.dat files, or the Resource Fork folders. I combed the web but there does not seem to be a little app that would find these (Sherlock found 5300 4k finder.dat files on the 120gb drive) files and move them to the trash. Yes, I know, I have the applescript tutorials sitting there and this would be an appropriate time to dig in and do it myself, but if there was an obliging Ascripter out there who could build 'us' a little app to trash those files it would be greatly appreciated. Best, John |
|||
|
Patrick Stadelmann wrote at: 2003-07-13 22:27:59
Delete finder.dat , resource fork ? | |||
|
In article <d444ed47.0307122351.cd4732d.TakeThisOut (~=~) posting.google.com, john_the_humphrey.TakeThisOut (~=~) hotmail.com (John Humphrey) wrote: I copied a load of files from an OSX disk onto a disk I use in OS 9. As I understad it, I don't need all the finder.dat files, or the Resource Fork folders. If you see these files, then your disk is formatted as a FAT (ie DOS) disk. The finder.dat files contains important information for the Mac (ie the file type and creator that tell which application should open the file). Resource forks sometimes can be discarded without loosing information, but that depends on the type of file. Some files might be unusable without their resource fork. Patrick -- Patrick Stadelmann <Patrick.Stadelmann.TakeThisOut (~=~) unine.ch |
|||
|
Mark Schonewille wrote at: 2003-07-14 16:24:00
Delete finder.dat , resource fork ? | |||
|
Very often, these files are copied from a DOS disk to a Mac disk, e.g. when you copy a directory from a Network disk to your Mac or when you copy a floppy from your office PC onto your Mac. After rebuilding the desktop of the Mac disk, the files seem to be treated as ordinary files, but they don't serve any purpose. I think that it is save to delete them from Mac disks. Do not delete them from DOS disks. Mark Patrick Stadelmann wrote: In article <d444ed47.0307122351.cd4732d.TakeThisOut (~=~) posting.google.com, john_the_humphrey.TakeThisOut (~=~) hotmail.com (John Humphrey) wrote: I copied a load of files from an OSX disk onto a disk I use in OS 9. As I understad it, I don't need all the finder.dat files, or the Resource Fork folders. If you see these files, then your disk is formatted as a FAT (ie DOS) disk. The finder.dat files contains important information for the Mac (ie the file type and creator that tell which application should open the file). Resource forks sometimes can be discarded without loosing information, but that depends on the type of file. Some files might be unusable without their resource fork. Patrick -- Patrick Stadelmann <Patrick.Stadelmann.TakeThisOut (~=~) unine.ch -- eHUG co-ordinator http://www.ehug.info http://home.wanadoo.nl/mark.sch |
|||
|
Patrick Stadelmann wrote at: 2003-07-14 18:30:59
Delete finder.dat , resource fork ? | |||
|
In article <3F1349C8.ABAED9CE.DeleteThis (~=~) iHUG.org, Mark Schonewille <Europe.DeleteThis (~=~) iHUG.org wrote: Very often, these files are copied from a DOS disk to a Mac disk, e.g. when you copy a directory from a Network disk to your Mac or when you copy a floppy from your office PC onto your Mac. It should not be the case. When copying the files back to a Mac disk, the Mac files should be reconstructed and the resource forks directories should disappear. This is usually the case, unless the files were put on the DOS disk by Mac OS < X and later put back on a Mac disk by Mac OS X (or the other way around). It seems that Mac OS < X and Mac OS X use a different scheme to store resource forks : resource forks are put in directories on Mac OS < X, whereas they're stored in invisible files (name starts with ._ IIRC) in Mac OS X. After rebuilding the desktop of the Mac disk, the files seem to be treated as ordinary files, but they don't serve any purpose. This probably indicates that the Mac files were not properly reconstructed, and that the resource forks are already lost, so indeed removing theses files should not create further damage. Patrick -- Patrick Stadelmann <Patrick.Stadelmann.DeleteThis (~=~) unine.ch |
|||
|
Mark Schonewille wrote at: 2003-07-15 02:19:59
Delete finder.dat , resource fork ? | |||
|
Patrick Stadelmann wrote: In article <3F1349C8.ABAED9CE.TakeThisOut (~=~) iHUG.org, Mark Schonewille <Europe.TakeThisOut (~=~) iHUG.org wrote: Very often, these files are copied from a DOS disk to a Mac disk, e.g. when you copy a directory from a Network disk to your Mac or when you copy a floppy from your office PC onto your Mac. It should not be the case. When copying the files back to a Mac disk, the Mac files should be reconstructed and the resource forks directories should disappear. This is usually the case, unless the files were put on the DOS disk by Mac OS < X and later put back on a Mac disk by Mac OS X (or the other way around). It seems that Mac OS < X and Mac OS X use a different scheme to store resource forks : resource forks are put in directories on Mac OS < X, whereas they're stored in invisible files (name starts with ._ IIRC) in Mac OS X. I am not working with MacOS X. I put Mac files on a DOS disk, then put tat disk into a PC. I work with the disk and that's when those .dat files become useless: a PC doesn't update those files, of course. Then I go back to the Mac and the Mac treats the files as ordinary files rather then desktop information. It happens all the time. After rebuilding the desktop of the Mac disk, the files seem to be treated as ordinary files, but they don't serve any purpose. This probably indicates that the Mac files were not properly reconstructed, and that the resource forks are already lost, so indeed removing theses files should not create further damage. Of course, resource forks are lost when files are written to a DOS disk. So, I always binhex the files, if they contain resource forks. It is well-known that this is necessary. Mark -- eHUG co-ordinator Europe.TakeThisOut (~=~) iHUG.org http://www.ehug.info http://home.wanadoo.nl/mark.sch |
|||
|
Patrick Stadelmann wrote at: 2003-07-15 03:22:00
Delete finder.dat , resource fork ? | |||
|
In article <3F13D557.85E560E3.TakeThisOut (~=~) iHUG.org, Mark Schonewille <Europe.TakeThisOut (~=~) iHUG.org wrote: I am not working with MacOS X. I put Mac files on a DOS disk, then put tat disk into a PC. I work with the disk and that's when those .dat files become useless: a PC doesn't update those files, of course. It doesn't need to, as PC files do not have resource forks or special metadatas. Then I go back to the Mac and the Mac treats the files as ordinary files rather then desktop information. It happens all the time. No in my experience. Those files are hidden on the Mac, and they stay so when the disk is used on a PC. The Mac will use the files if some of the Mac files are still on the disk, otherwise it will ignore them. Of course, resource forks are lost when files are written to a DOS disk. No, they're stored either in a hidden directory, or as hidden file in Mac OS X. They're not used on a PC, obviously, but they're stored anyway in case the disk is used to transfer files from one Mac to another. So, I always binhex the files, if they contain resource forks. It is well-known that this is necessary. It is not if the files are written on the disk on a Mac. I use a DOS formated USB key to transfer files between my Mac at home and either my Mac at the office, or a PC if I need to use one. Patrick -- Patrick Stadelmann <Patrick.Stadelmann.TakeThisOut (~=~) unine.ch |
|||
|
Simon Slavin wrote at: 2003-07-15 13:59:59
Delete finder.dat , resource fork ? | |||
|
In article <d444ed47.0307122351.cd4732d.RemoveThis (~=~) posting.google.com, john_the_humphrey.RemoveThis (~=~) hotmail.com (John Humphrey) wrote: I copied a load of files from an OSX disk onto a disk I use in OS 9. As I understad it, I don't need all the finder.dat files, or the Resource Fork folders. No point trying to delete them. As soon as you do anything with those files/directories they'll be remade. Just ignore them. |
|||
|
Simon Slavin wrote at: 2003-07-17 13:36:00
Delete finder.dat , resource fork ? | |||
|
In article <3F13D557.85E560E3 DeleteThis (~=~) iHUG.org, Mark Schonewille <Europe DeleteThis (~=~) iHUG.org wrote: I am not working with MacOS X. I put Mac files on a DOS disk, then put tat disk into a PC. I work with the disk and that's when those .dat files become useless: a PC doesn't update those files, of course. Then I go back to the Mac and the Mac treats the files as ordinary files rather then desktop information. It happens all the time. You won't be able to avoid it: if you delete those files while the disk is in the Mac they'll just come back again. If you want to delete them, you'll have to write a program on your PC to do it. |
|||










