You can man magic
for a description for how to create your own magic file. Then use file -C -m <your magic file>
to compile it, and file -m <your magic file>
to use it.
More Related Contents:
- Why should text files end with a newline?
- Rename multiple files based on pattern in Unix
- How can I find encoding of a file via a script on Linux?
- split file on Nth occurrence of delimiter
- How to force Logstash to reparse a file?
- Buffered files (for faster disk access)
- How to save all console output to file in R?
- Find duplicate lines in a file and count how many time each line was duplicated?
- Combining multiple text files into one
- SQLite3 database or disk is full / the database disk image is malformed
- How to get full path of a file?
- How to limit the number of dropzone.js files uploaded?
- Powershell: Check if a file is locked
- Check if any type of files exist in a directory using BATCH script
- Batch file to delete first 3 lines of a text file
- practical examples use dup or dup2
- How do I move files in node.js?
- How can I tell how many objects I’ve stored in an S3 bucket?
- How to read a file in Groovy into a string?
- ASP.Net MVC – Read File from HttpPostedFileBase without save
- What characters should be restricted from a Unix file name?
- Relinking an anonymous (unlinked but open) file
- File Uri Scheme and Relative Files
- Write variable to a file in Ansible
- How do I find the current directory of a batch file, and then use it for the path?
- Process leaked file descriptors error on JENKINS
- Parse a log4j log file
- Whats the default path for static files in Angular2?
- count files in specific folder and display the number into 1 cel [closed]
- Comparing folders and content with PowerShell