- π The File Information Utility is a powerful command-line tool written in C that provides:
- π Detailed information about files
- π Comprehensive analysis of various file types
- π Data presentation in an easy-to-read format
π Whether you're a developer, system administrator, or power user, this tool streamlines the process of gathering and visualizing file metadata, making your workflow more efficient and informative.
- π Basic file information (size, permissions, last modified date)
- π MIME type detection
- π Text file analysis (line, word, and character count)
- πΌοΈ Image file information (dimensions, color space)
- π₯ Video file duration
- π PDF document details
- π¦ Archive file information (file count, total uncompressed size)
- Linux
- Unix-like systems
- libmagic
- ImageMagick (for image analysis)
- FFmpeg (for video analysis)
- Poppler (for PDF analysis)
- p7zip (for archive analysis)
Clone the repository:
git clone https://github.com/yellow-footed-honeyguide/inf.git
cd inf
mkdir build
cd build
meson ..
ninja
or install utility system-wide:
sudo ninja install
inf [OPTIONS] <file_path>
-h
,--help
: Show help message and exit-v
,--version
: Show program's version number and exit
- Analyze a text file:
inf ./docs/document.txt
- Get information about a video file:
inf video.mp4
- Analyze a PDF document:
inf document.pdf
Contributions to the File Information Utility are welcome! Please feel free to submit a Pull Request.
This project is licensed under the MIT License - see the LICENSE file for details.
Sergey Veneckiy
- Email: s.venetsky@gmail.com
- GitHub: @yellow-footed-honeyguide
- This project uses various open-source libraries and tools, including libmagic, ImageMagick, FFmpeg, Poppler, and p7zip.