Patent ID: 8078627
Filing Date: 2011-12-13
Classification: G06F

Abstract:
1. A file management apparatus for communicating with an external storage medium, wherein the external storage medium has a folder structure in which respective hierarchical levels of the folder structure are assigned a different type of attribute information and wherein files are sorted and stored in folders of the folder structure based on their attribute information, the apparatus comprising: original external storage media; a reading processor which reads a plurality of files from a plurality of original external storage media, wherein the plurality of the original external storage media respectively have folder structures which are different from each other such that the same hierarchical level of respective folder structures are assigned different type of the attribute information; an analyzing processor which analyzes, for the respective folder structures of the plurality of original external storage media, types of attribute information which are assigned to the respective hierarchical levels; a selecting unit which selects one of the folder structures of the plurality of original external storage media based on an analysis result by the analyzing processor; a storage control processor which executes control of sorting, based on the attribute information of each file, the plurality of files read by the reading processor in accordance with the types of attribute information assigned to the respective hierarchical levels of the folder structure of the original external storage medium selected by the selecting unit, and executes control of storing the sorted files in a new storage medium; a writing unit which writes the plurality of files stored in the new storage medium to another external storage medium; an obtaining unit which obtains a free space of the other external storage medium; a calculating unit which calculates a total volume of the plurality of files stored on the new storage medium; a comparing unit which compares the free space with the total volume; and a dividing unit which divides the plurality of files into a plurality of file groups, if a result of the comparison by the comparing unit shows that the free space is less than the total volume, wherein the writing unit writes one of the plurality of file groups obtained by division by the dividing unit to the other external storage medium.