command
module
Version:
v0.0.0-...-9b82d23
Opens a new window with list of versions in this module.
Published: Jan 4, 2023
License: MIT
Opens a new window with license information.
Imports: 16
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
filescan
Filesystem scanner in Golang
Notes:
Supports three modes:
- Scan a specified file system using a pathname on the command line and save the
metadata in the db
- Create a sqlite db
- 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
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.