Hi, The command 'file' print human readable file format. But I need to get the correct suffixes for some files with incorrect suffixes. I could parse the output of 'file' and then map to the correct suffixes. But I'm wondering if there is any more automatic way of doing so? Thanks! -- Regards, Peng