--copies=N can be used to make git-annex only operate on files with the specified number of copies.
(And --not --copies=N for the inverse.)
This commit is contained in:
parent
1fc3ee2423
commit
9da23dff78
4 changed files with 24 additions and 0 deletions
|
@ -112,6 +112,8 @@ options = commonOptions ++
|
|||
"skip files matching the glob pattern"
|
||||
, Option ['i'] ["in"] (ReqArg (Limit.addIn) paramRemote)
|
||||
"skip files not present in a remote"
|
||||
, Option ['C'] ["copies"] (ReqArg (Limit.addCopies) paramNumber)
|
||||
"skip files with fewer copies"
|
||||
] ++ matcherOptions
|
||||
where
|
||||
setto v = Annex.changeState $ \s -> s { Annex.toremote = Just v }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue