Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Index ¶
type Index struct { base.Command // Paths is the array of directory paths to scan and index. Paths []string `short:"p" long:"path" description:"The directory path(s) to index." required:"true"` // Database is the path to the database to open/create on disk. Database string `short:"d" long:"database" description:"Path to the database." required:"true" default:"./dedup.db"` // Bucket is a label that is given to all entries indexed during this run. Bucket string `short:"b" long:"bucket" description:"The bucket to use for indexing the given paths." optional:"true" default:"default"` Up bool `long:"up" description:"Migrate the database up." optional:"true"` Down bool `long:"down" description:"Migrate the database up." optional:"true"` }
Index is the command that scans and indexes all cxontents in one or mode directories on disk, in order to check if there are duplicate files on disk, and where they are.
Click to show internal directories.
Click to hide internal directories.