diff options
author | Joey Hess <joeyh@joeyh.name> | 2015-01-22 14:52:52 -0400 |
---|---|---|
committer | Joey Hess <joeyh@joeyh.name> | 2015-01-22 14:52:52 -0400 |
commit | 07211ad1d80d2be9693c5f37f1bf104c6ce6baa0 (patch) | |
tree | 43fedb306be22459b548589afa08efd5c64f636a /doc | |
parent | c222a65270a95a59307377f81522a46d95db6e9a (diff) |
addurl: When a Content-Disposition header suggests a filename to use, addurl will consider using it, if it's reasonable and doesn't conflict with an existing file. (--file overrides this)
Diffstat (limited to 'doc')
-rw-r--r-- | doc/git-annex.mdwn | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/doc/git-annex.mdwn b/doc/git-annex.mdwn index c92208e5c..c4586ba1d 100644 --- a/doc/git-annex.mdwn +++ b/doc/git-annex.mdwn @@ -218,8 +218,10 @@ subdirectories). is there at a future point, specify `--relaxed`. (Implies `--fast`.) Normally the filename is based on the full url, so will look like - "www.example.com_dir_subdir_bigfile". For a shorter filename, specify - `--pathdepth=N`. For example, `--pathdepth=1` will use "dir/subdir/bigfile", + "www.example.com_dir_subdir_bigfile". In some cases, addurl is able to + come up with a better filename based on other information. Or, for a + shorter filename, specify `--pathdepth=N`. For example, + `--pathdepth=1` will use "dir/subdir/bigfile", while `--pathdepth=3` will use "bigfile". It can also be negative; `--pathdepth=-2` will use the last two parts of the url. |