Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var CmdRemove = cli.Command{ Name: "remove", Usage: "remove", Description: `remove duplicates files`, Before: runRemove, Action: func(ctx *cli.Context) {}, Flags: []cli.Flag{ cli.BoolFlag{"no-byte-comparison", "Only verify hash before removing a file", ""}, cli.StringSliceFlag{"keep-dir", &keep_dir_slice, "Files in the listed directories will not be removed", ""}, cli.StringSliceFlag{"remove-dir", &remove_dir_slice, "Files in the listed directories will be removed", ""}, }, }
View Source
var CmdSearch = cli.Command{ Name: "search", Usage: "search path", Description: `Index files in database`, Before: runSearch, Action: func(ctx *cli.Context) {}, Flags: []cli.Flag{ cli.IntFlag{"remove, r", -1, "The Maximum number of files to delete. -1 means no limit. This is usefull if you use a distant filesystem and if you lose connection", ""}, cli.BoolFlag{"tiny-hash, t", "Compute a tiny hash (on the first bytes) of every new file", ""}, cli.StringSliceFlag{"ignore-dir", &ignore_dir_slice, "Files in the listed directories will not be indexed", ""}, }, }
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.