2015-03-24 19:23:59 +00:00
|
|
|
# NAME
|
|
|
|
|
|
|
|
git-annex dropunused - drop unused file content
|
|
|
|
|
|
|
|
# SYNOPSIS
|
|
|
|
|
|
|
|
git annex dropunused `[number|range ...]`
|
|
|
|
|
|
|
|
# DESCRIPTION
|
|
|
|
|
|
|
|
Drops the data corresponding to the numbers, as listed by the last
|
2021-06-25 19:22:05 +00:00
|
|
|
`git annex unused`
|
2015-03-24 19:23:59 +00:00
|
|
|
|
|
|
|
You can also specify ranges of numbers, such as "1-1000".
|
|
|
|
Or, specify "all" to drop all unused data.
|
|
|
|
|
|
|
|
# OPTIONS
|
|
|
|
|
|
|
|
* `--from=remote`
|
|
|
|
|
|
|
|
Rather than dropping the unused files from the local repository,
|
|
|
|
drop them from the remote repository.
|
|
|
|
|
|
|
|
* `--force`
|
|
|
|
|
|
|
|
Use this option with care! It bypasses safety checks, and forces
|
|
|
|
git-annex to delete the content of the specified files, even from
|
|
|
|
the last repository that is storing their content. Data loss can
|
|
|
|
result from using this option.
|
|
|
|
|
2023-07-21 18:03:34 +00:00
|
|
|
* `--jobs=N` `-JN`
|
|
|
|
|
|
|
|
Runs multiple drop jobs in parallel. This is particularly useful
|
|
|
|
when git-annex has to contact remotes to check if it can drop content.
|
|
|
|
For example: `-J4`
|
|
|
|
|
|
|
|
Setting this to "cpus" will run one job per CPU core.
|
|
|
|
|
2023-05-05 18:01:40 +00:00
|
|
|
* `--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.
|
|
|
|
|
2021-05-10 19:00:13 +00:00
|
|
|
* Also the [[git-annex-common-options]](1) can be used.
|
|
|
|
|
2015-03-24 19:23:59 +00:00
|
|
|
# SEE ALSO
|
|
|
|
|
|
|
|
[[git-annex]](1)
|
|
|
|
|
2015-05-29 16:12:55 +00:00
|
|
|
[[git-annex-unused]](1)
|
|
|
|
|
2023-05-05 18:01:40 +00:00
|
|
|
[[git-annex-drop]](1)
|
|
|
|
|
|
|
|
[[git-annex-copy]](1)
|
|
|
|
|
2015-03-24 19:23:59 +00:00
|
|
|
# AUTHOR
|
|
|
|
|
|
|
|
Joey Hess <id@joeyh.name>
|
|
|
|
|
|
|
|
Warning: Automatically converted into a man page by mdwn2man. Edit with care.
|