commands

package
v0.0.0-...-b70068b Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2015 License: Apache-2.0 Imports: 10 Imported by: 0

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", ""},
	},
}
View Source
var CmdSearchDuplicate = cli.Command{
	Name:        "search_duplicate",
	Usage:       "search_duplicate",
	Description: `Search for duplicates`,
	Before:      runSearchDuplicate,
	Action:      func(ctx *cli.Context) {},
	Flags:       []cli.Flag{},
}

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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