Added --expected-present file matching option
This commit is contained in:
parent
1d17e4ee16
commit
b9e147d282
5 changed files with 44 additions and 3 deletions
|
@ -60,12 +60,15 @@ in either of two repositories.
|
|||
* `--in=repository`
|
||||
|
||||
Matches only when git-annex believes that the content is present in a
|
||||
repository. Note that it does not check the repository to verify
|
||||
that it still has the content.
|
||||
repository.
|
||||
|
||||
The repository should be specified using the name of a configured remote,
|
||||
or the UUID or description of a repository. For the current repository,
|
||||
use `--in=here`
|
||||
|
||||
Note that this does not check remote repositories to verify that content
|
||||
is still present on them. However, when checking the current repository,
|
||||
it does verify that content is present in it.
|
||||
|
||||
* `--in=repository@{date}`
|
||||
|
||||
|
@ -80,6 +83,20 @@ in either of two repositories.
|
|||
free up disk space. The next day, you can get back the files you dropped
|
||||
using `git annex get . --in=here@{yesterday}`
|
||||
|
||||
* `--expected-present`
|
||||
|
||||
Matches only when git-annex believes that the content is present
|
||||
in the local repository.
|
||||
|
||||
This is like `--in=here`, except it does not verify that the content
|
||||
is actually present. So it can be used in situations where the location
|
||||
tracking information is known to be out of date.
|
||||
|
||||
For example, if a repository is being restored from a backup
|
||||
that did not include the git-annex objects, this could be used to get
|
||||
back all files that were expected to be in it:
|
||||
`git-annex get --expected-present`
|
||||
|
||||
* `--copies=number`
|
||||
|
||||
Matches only when git-annex believes there are the specified number
|
||||
|
|
|
@ -3,3 +3,5 @@ situation where my repo was copied from elsewhere but missing the object
|
|||
files, and I wanted to get back the same objects. So I had to disable that
|
||||
check. So an option that checks for files expected to be here would be
|
||||
useful. --[[Joey]]
|
||||
|
||||
> [[done]] as --expected-present --[[Joey]]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue