summaryrefslogtreecommitdiff
path: root/doc/git-annex-dropkey.mdwn
blob: 6816407371b05821943a5e36548c57c3adc4791d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# NAME

git-annex dropkey - drops annexed content for specified keys

# SYNOPSIS

git annex dropkey `[key ...]`

# DESCRIPTION

This plumbing-level command drops the annexed data for the specified
keys from this repository.

This can be used to drop content for arbitrary keys, which do not need
to have a file in the git repository pointing at them.

Warning: This command does not check that enough other copies of the content
exist; using it can easily result in data loss.

# OPTIONS

* `--batch`

  Enables batch mode, in which lines containing keys to drop are read from
  stdin.

* `--json`

  Enable JSON output. This is intended to be parsed by programs that use
  git-annex. Each line of output is a JSON object.

* `--json-error-messages`

  Messages that would normally be output to standard error are included in
  the json instead.

# SEE ALSO

[[git-annex]](1)

[[git-annex-setkey]](1)

# AUTHOR

Joey Hess <id@joeyh.name>

Warning: Automatically converted into a man page by mdwn2man. Edit with care.