filescan

command module
v0.0.0-...-9b82d23 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 4, 2023 License: MIT Imports: 16 Imported by: 0

README

filescan

Filesystem scanner in Golang

Notes:

Supports three modes:

  1. Scan a specified file system using a pathname on the command line and save the metadata in the db
  2. Create a sqlite db
  3. Run the reports on the saved file system metadata

Usage of the filescan cli:

  -dbName string
        database name
  -makedb
        initiallize the db
  -path string
        root path name
  -report
        run usage report

Examples:

./filescan --makedb=true --dbName="files.db"
./filescan --dbName="files.db" --path="/home/ubuntu"
./filescan --dbName="files.db" --report=true"

Supported Reports:

  • file count report
  • file size report
  • files by owner (uid and gid)
  • file aging report

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL