So you mean to say... you actually have to exert some amount of effort in order to find out what the file type is? Wheras by having a file extension, you can determine the file type by simply looking at the filename.trythil wrote: file(1)
For example:
It's correct more often than some extension is, because it actually analyzes unique characteristics of files. It's fast, too.Code: Select all
trythil@nevrast /mnt/usb/video/amv/MultiEditor $ file DDR4 DDR4: RIFF (little-endian) data, AVI, 512 x 384, 29.97 fps, video: DivX 5, audio: MPEG-1 Layer 3 (stereo, 48000 Hz)
Also, when you have file extensions, you are able to give files the same name, but different extensions.
Say for example I am doing an avisynth script, and I have a video source, an audio source, a subtitle source, and whatever else I can have. If I name them all the same thing with different extensions, I can write my script quickly and easily. If I have to come up with unique names for them all though, then while I'm writing my script, I will have to stop and think "ok, my audio source, let me check what I named that... now these subtitles, what did I names those?"

