Forums | MacLife

You are not logged in.

#1 2006-01-29 9:34 am

bmickey9
Member
Registered: 2002-01-20
Posts: 33

Help With Picture Frame or File Deletion

I bought a digital picture frame for my wife for her birthday.  It is set to play a slideshow upon insertion of a memory stick/flash card...etc.  It does not.

I believe I know what the problem is but I am unsure of how to fix it.  On the frame I am able to access the root files and it will show all the files on the card.

Example:
??       ._DSC00287
JPG     DSC00287

It is recognizing the jpg as a picture and will display it if I select it to show just that file.  I believe the file with the ._ at the beginning of its name is interfering with it.  I have run into this problem when moving files between work and home on my jump drive so I am somewhat famaliar with what is going on.


Does anyone know a way short using Virtual PC (which I think will work) to help with the problem.  I tried using Tinkertool to show the ._ file but it still didn't show up in the finder window.



Ideas anyone??

Thanks in advance.
bmickey9

Offline

 

#2 2006-01-31 11:33 am

Dunkin'
Mom Bo'
From: Over the hills and far away
Registered: 1999-10-15
Posts: 3260

Re: Help With Picture Frame or File Deletion

This may not help much.
But OS X treats files with a period at the beginning as an invisible file.  You may be able to view the file in the Finder if you use Find ( command f ), or use Terminal, and then move or delete it.

edit:  Now that I think about it those hidden or invisible files are probably resource files or some sort of OS X info.

Last edited by Dunkin' (2006-01-31 11:35 am)


1/φ = φ-1

Dron't dink and dive.

Offline

 

#3 2006-01-31 11:20 pm

Kosh
The Enigmatic One
From: Somewhere on or near Earth
Registered: 2003-01-18
Posts: 633

Re: Help With Picture Frame or File Deletion

Yes, the files that start with "._" are the resource forks for the respective files with the same name after the "._".  Mac OS X does this on file systems that don't directly support resource forks (thumb drives are FAT formatted).

In other words, your file "._DSC00287" is the resource fork for the file "DSC00287".

As long as you are sure you don't need these "resource" files, you can get rid of them with a couple of commands in the Terminal.

First, a couple of notes.  Some "Mac" files (like applications, etc.) will break if you delete their resource fork.  For graphics files, the resource fork isn't required to make it work; it likely contains the preview image, etc.

Go ahead and start up Terminal.  In the window that shows up, type "cd " (that's a space after the cd), without typing the quotes.  Don't press Return yet!  Now, drag the mounted thumb drive to the Terminal window until the window border highlights, and release.  This enters the path to your drive at the current cursor position.  Now press <Return>.

In the example below, the drive I'm going to examine is named "THUMBELLINA", but yours will likely be different.  After the "cd", copy the line that begins with "find" exactly.  This first line will just print all of the matching files.

If you see something you aren't sure of, STOP!  Also make sure that you are looking at your thumb drive, not your hard drive.

Code:

cd /Volumes/THUMBELLINA
find . -regex ".*/\._..*" -type f -exec ls -l {} \;

Now, as long as you don't see any files printed that you think you might want to keep, copy and paste the following line exactly, which will delete those same files (and print them again, for reference).

Code:

find . -regex ".*/\._..*" -type f -exec ls -l {} \; -exec rm -f {} \;

Here's a real-life example of what was printed when I ran this:

Code:

[Odin:/Volumes/THUMBELLINA] kosh% find . -regex ".*/\._..*" -type f -exec ls {} \;
-rwxrwxrwx  1 kosh  wheel  82 Nov 29  2003 ./.Trashes/._502
-rwxrwxrwx  1 kosh  wheel  82 Apr 19  2004 ./._eBay Ryobi Rout auction.html

The file names are off to the right.  the rest of the info tells you when it was last modified, who owns it, etc.


They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.
  -- Benjamin Franklin, 1759

Offline

 

#4 2006-02-01 3:01 pm

Dunkin'
Mom Bo'
From: Over the hills and far away
Registered: 1999-10-15
Posts: 3260

Re: Help With Picture Frame or File Deletion

Kosh wrote:

<Beauty>

Nice work, Kosh!


1/φ = φ-1

Dron't dink and dive.

Offline

 

#5 2006-02-01 10:49 pm

bmickey9
Member
Registered: 2002-01-20
Posts: 33

Re: Help With Picture Frame or File Deletion

Thanks for all the help. I'll probably need the weekend before I get a chance to mess with it again.
Wish me luck.


bmickey9

Offline

 

#6 2008-02-04 7:45 pm

gymbeau
Member
From: Central VA
Registered: 2003-08-31
Posts: 8

Re: Help With Picture Frame or File Deletion

You have GOT to be kidding me.  Is that the easiest way to get rid of these files?  I've just been taking the thumb drive to the PeeCee and deleting them.

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson