rmurl: --batch

* rmurl: Multiple pairs of files and urls can be provided on the
  command line.
* rmurl: Added --batch mode.

This commit was sponsored by Trenton Cronholm on Patreon.
This commit is contained in:
Joey Hess 2016-12-05 12:10:07 -04:00
parent e0be5b354a
commit 93852dd7e8
No known key found for this signature in database
GPG key ID: C910D9222512E3C7
3 changed files with 43 additions and 7 deletions

View file

@ -4,12 +4,24 @@ git-annex rmurl - record file is not available at url
# SYNOPSIS
git annex rmurl `file url`
git annex rmurl `[file url ..]`
# DESCRIPTION
Record that the file is no longer available at the url.
If nothing is specified on the command line, they are instead read
from stdin. Any number of lines can be provided in this mode,
each containing a file and and url, separated by a single space.
# OPTIONS
* `--batch`
Enables batch mode, in which lines are read from stdin.
Each line should contain the file, and the url to remove from that file,
separated by a single space.
# SEE ALSO
[[git-annex]](1)