|
Identify type of file
hi all,
i have the next question:
how can i identify the type of a file? . I'm working in Unix (Solaris 5.7) and i would like identify if a file is or not is a "flat file". I need have a program what separates the flat file in a directory, and the excel file in another directory.
I must get the type by its content, not using the name of the file, because is the same format for flat and excel file.
is that possible¿?
please any idea
thanks
|