On Jun 13, 2010, at 6:42 PM, P. J. Alling wrote:

> Using mv (move) instead of cp (copy) shouldn't overwrite any files on the 
> card, unless you're moving files /to/ the card.  It should simply replace the 
> first character in the directory entry with a character the system recognizes 
> f"empty"  (I used to know that code, I could probably look it up), and marks 
> the space the file exists in used as Free in the FAT.  Move doesn't erase 
> anything, it just updates the FAT, I assume mv, does the same thing.  I'm 
> going by his description.

Exactly.

The line in my script was

mv /media/disk/dcim/*/* $1

The problem is that two different cards seemed to have 

imgp7543.pef  - imgp7577.pef 

Or, whatever they were numbered, and the second card that I read had the less 
critical files of those names.


> 
> On 6/13/2010 5:25 PM, Ken Waller wrote:
>> 
>> Kenneth Waller
>> http://www.pentaxphotogallery.com/kennethwaller
>> 
>> ----- Original Message ----- From: "P. J. Alling" 
>> <[email protected]>
>> Subject: Re: Memory card image recovery programs
>> 
>> 
>>> Cards are pseudo FAT formatted, and due to their design constraints the way 
>>> riles get erased, (or for that matter the card gets formatted), unless you 
>>> go to extraordinary lengths only the directory structure is changed by 
>>> either of those operations.  The only way the data will be over written is 
>>> if more photos are taken, or new directories are created.
>> 
>> That's what Larry said "overwrote" - I took that to mean new images were 
>> added.
>> 
>>> 
>>> On 6/13/2010 4:38 PM, Ken Waller wrote:
>>>> Were the images overwritten or deleted?
>>>> 
>>>> My understanding is if they have been over written they can't be 
>>>> recovered. Could be wrong but that's what I recall.
>>>> 
>>>> Kenneth Waller
>>>> http://www.pentaxphotogallery.com/kennethwaller
>>>> 
>>>> ----- Original Message ----- From: "Bran Everseeking" 
>>>> <[email protected]>
>>>> To: <[email protected]>
>>>> Sent: Sunday, June 13, 2010 2:39 AM
>>>> Subject: Re: Memory card image recovery programs
>>>> 
>>>> 
>>>>> On Sat, 12 Jun 2010 10:36:53 -0700
>>>>> Larry Colen <[email protected]> wrote:
>>>>> 
>>>>>> I did something stupd last night and overwrote some files when
>>>>>> copying them off an SD card.
>>>>>> 
>>>>>> I knew that using mv rather than cp was a bad idea, but I discovered
>>>>>> a failure mode that I hadn't thought of before.
>>>>>> 
>>>>>> Any recommendations for a program to recover erased files off an sd
>>>>>> card for either mac or linux?
>>>> 
>>>> 
>>> 
>>> 
>>> -- 
>>> {\rtf1\ansi\ansicpg1252\deff0\deflang1033{\fonttbl{\f0\fnil\fcharset0 
>>> Courier New;}}
>>> \viewkind4\uc1\pard\f0\fs20 I've just upgraded to Thunderbird 3.0 and the 
>>> interface subtly weird.\par
>>> }
>>> 
>>> 
>>> -- 
>>> PDML Pentax-Discuss Mail List
>>> [email protected]
>>> http://pdml.net/mailman/listinfo/pdml_pdml.net
>>> to UNSUBSCRIBE from the PDML, please visit the link directly above and 
>>> follow the directions. 
>> 
>> 
> 
> 
> -- 
> {\rtf1\ansi\ansicpg1252\deff0\deflang1033{\fonttbl{\f0\fnil\fcharset0 Courier 
> New;}}
> \viewkind4\uc1\pard\f0\fs20 I've just upgraded to Thunderbird 3.0 and the 
> interface subtly weird.\par
> }
> 
> 
> -- 
> PDML Pentax-Discuss Mail List
> [email protected]
> http://pdml.net/mailman/listinfo/pdml_pdml.net
> to UNSUBSCRIBE from the PDML, please visit the link directly above and follow 
> the directions.

--
Larry Colen [email protected] sent from i4est





-- 
PDML Pentax-Discuss Mail List
[email protected]
http://pdml.net/mailman/listinfo/pdml_pdml.net
to UNSUBSCRIBE from the PDML, please visit the link directly above and follow 
the directions.

Reply via email to