Patent ID: 7295230

Claim:
A data recording device being adapted to record a series of image data or voice data in a memory as a file, and to manage a plurality of flies recorded in the memory with a predetermined directory structure, the data recording device comprising: specifier for specifying a file to be deleted in response to a file deleting manipulation by the user, file mover for moving the file to be specified as deleted to a predetermined temporary delete folder, judge for, in recording data, calculating remaining capacity of recording area of the memory and judging whether the series of data to be recorded can be recorded, first data writer for writing the series of data to the recording area of the determines that the series of data can be recorded, second data writer for deleting at least one file included in the temporary delete folder to enlarge the recording area, and writing the series of data to the recording area when the judge determines that the series of data cannot be recorded, and file restorer a specified file from the temporary delete folder to an original directory position in accordance with the user's file restoring manipulation, the file restorer comprising: judge for determining whether a file having the same file name as that of the specified file is present in the memory, when the specified file is restored from the temporary delete folder, and changer for changing the file name of the specified to a file name different from any of the file names, if it is determined that file having the same file name is present in the memory.