file-type
Detect file extension by content.
file-type path=PATH
- path=PATH
- Target file path
Output Fields
Field | Type | Name | Description |
---|---|---|---|
file_path | String | File path | Absolute file path |
file_size | Long | File size | Size in bytes |
file_type | String | File type | pptx, docx, xslx, pdf, png, jpeg, exe, zip or unknown |