Re: File type determination
- From: Vivek Bhanuprakash <reema_sharma yahoo com>
- To: nautilus-list gnome org
- Subject: Re: File type determination
- Date: Sat, 27 Dec 2003 19:54:57 -0800
Hello
Just to throw in my two cents too...
How about the following...
1. Display file type according to the extension. Most of the programs
that create files (AbiWord, OpenOffice, Shell scripts etc) do have
extensions associated with the file name. So it is reasonable to assume
that a larger percentage of files in a user directory will have extensions.
2. Display file types for files that do not have an extension by
examining their content.
Additionally, we can combine John's idea about examining the file
content during execution. And hence..
3. On double clicking a file, we can check the content and the file
type. If they seem to be different or conflicting, then a warning can be
displayed to the user to take appropriate action (continue, cancel etc).
By doing this, we can have an foresighted approach for a deterrent to
future (or current?) viruses for Linux.
What do you think about this ?
Thanks
Regards
Vivek
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]