Thanks to visit codestin.com
Credit goes to github.com

Skip to content

finfo is a small program that displays information about a file. Yeah that's all!

pavlik-dev/finfo

Repository files navigation

C/C++ CI

finfo -- File Info

finfo is a small program that displays information about a file. Yeah that's all!

Usage

Usage:
  finfo [-d] <files>

  -d  --  Detailed view, fields from `struct stat` (see 'man stat.3')

Example

Simple view (default)

$ finfo .     
finfo-linux/:
  Type: directory

  Files:       14 (+2 hidden)
  Directories: 1 (+3 hidden)

  Permissions: drwxrwxr-x (775)

  Created:  2025-02-20 19:25:09
  Opened:   2025-02-28 01:11:25
  Modified: 2025-02-28 01:11:25

Detailed view

$ finfo -d .  
finfo-linux/:
  Type: directory

  Files:       14 (+2 hidden)
  Directories: 1 (+3 hidden)

  Parent device ID: 2052
  Inode: 47200487
  Hard links: 6
  Owner: 1000, group 1000
  Special device ID: 0
  Size in bytes: 4096
  FS block size: 4096
  Total blocks: 8

  Permissions: drwxrwxr-x (775)

  Created:  2025-02-20 19:25:09.544126326
  Opened:   2025-02-28 01:11:25.371282257
  Modified: 2025-02-28 01:11:25.167286410

Note: some fields aren't available on Windows.

Compiling

Compiling

make

Installing (root access required)

make install

Supported OSs

Linux — Full support
Mac OS X/OS X/macOS — Untested, full support expected
iPhone OS/iOS/iPadOS — Compile with NO_DIRENT, NO_MNTENT and NO_MIME.
Windows — Some fields are not supported in detailed view.

About

finfo is a small program that displays information about a file. Yeah that's all!

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published