Hiếu Hoàng
Member
How can I tell if a file is compressed?
Answer
You can check the extension. If you don’t trust the extension, then you have to
look into the file and check for signatures. You can find some of them here. The call to stat will not tell you about individual files being compressed, as this flag means that the file system is compressed.
Answer
You can check the extension. If you don’t trust the extension, then you have to
look into the file and check for signatures. You can find some of them here. The call to stat will not tell you about individual files being compressed, as this flag means that the file system is compressed.