From 9da23dff78d80158ba01a271ac2a32830fd9bccc Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Sun, 18 Sep 2011 20:23:08 -0400 Subject: --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.) --- GitAnnex.hs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'GitAnnex.hs') diff --git a/GitAnnex.hs b/GitAnnex.hs index bcb30ff41..a284daad5 100644 --- a/GitAnnex.hs +++ b/GitAnnex.hs @@ -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 } -- cgit v1.2.3