Skip to content

yellow-footed-honeyguide/inf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

22 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

File Information Utility

Overview

  • πŸ“Š 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.

Features

  • πŸ“Š 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)

Requirements

Supported Operating Systems

  • Linux
  • Unix-like systems

System Dependencies

  • libmagic
  • ImageMagick (for image analysis)
  • FFmpeg (for video analysis)
  • Poppler (for PDF analysis)
  • p7zip (for archive analysis)

Installation

Building from Source

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

Usage

inf [OPTIONS] <file_path>

Options

  • -h, --help : Show help message and exit
  • -v, --version: Show program's version number and exit

Examples

  1. Analyze a text file: inf ./docs/document.txt
  2. Get information about a video file: inf video.mp4
  3. Analyze a PDF document: inf document.pdf

Contributing

Contributions to the File Information Utility are welcome! Please feel free to submit a Pull Request.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Author

Sergey Veneckiy

Acknowledgments

  • This project uses various open-source libraries and tools, including libmagic, ImageMagick, FFmpeg, Poppler, and p7zip.