[X4U] .mailloc email address files have turned into folders for me!

Stroller macmonster at myrealbox.com
Thu Dec 22 04:46:29 PST 2005


On Dec 22, 2005, at 6:55 am, Michael Elliott wrote:
>
> I have a folder on an iDisk which has about 300 email address 
> "bookmarks"  (the foo.mailloc files that come from dragging a person's 
> email address to the desktop) which have mysteriously turned into 
> folders!
>
> Does anybody have any idea of how I can change these "folders" back to 
> .mailloc files, short of retyping and dragging to the folder for each 
> one?  Perhaps some type of file type editor or something?

.mailloc files store the email address in the resource-fork, as 
illustrated below:

	$  DeRez Desktop/*mailloc
	data 'drag' (128) {
	        $"0000 0001 0000 0000 0000 0000 0000 0002"            /* 
................ */
	        $"5445 5854 0000 0100 0000 0000 0000 0000"            /* 
TEXT............ */
	        $"7572 6C20 0000 0100 0000 0000 0000 0000"            /* url 
............ */
	};
	
	data 'TEXT' (256) {
	        $"6D61 696C 746F 3A78 3475 406C 6973 7473"            /* 
mailto:x4u at lists */
	        $"6572 7665 722E 7468 656D 6163 696E 746F"            /* 
erver.themacinto */
	        $"7368 6775 792E 636F 6D"                             /* 
shguy.com */
	};
	
	data 'url ' (256) {
	        $"6D61 696C 746F 3A78 3475 406C 6973 7473"            /* 
mailto:x4u at lists */
	        $"6572 7665 722E 7468 656D 6163 696E 746F"            /* 
erver.themacinto */
	        $"7368 6775 792E 636F 6D"                             /* 
shguy.com */
	};

I think it's highly unlikely that they have _actually_ turned into 
folders:

	 $ ls -ld Desktop/*mailloc
	-rw-r--r--  1 stroller  stroller  0 22 Dec 12:22 
Desktop/x4u at listserver.themacintoshguy.com.mailloc

more likely the icon has just changed.

There is a man page for `resource`on both my systems (10.3 & 10.4), but 
calling `resource` gives me "command not found". If you're able to 
recover the addresses from these files then personally I'd dump them 
into a plain text file. It shouldn't be too hard to import into address 
book from there.

Stroller.



More information about the X4U mailing list