rclone/cmd
J-P Treen 8b8802a078 copyurl: Add option to honor the HTTP header filename directive.
Implemented --header-filename for use with copyurl.

For specifically setting preferred download filenames for HTTP requests, RFC 6226
specifies a 'filename' directive, available within 'Content-Disposition'
header. We can handle with 'mime.ParseMediaType'.

See below for details:
https://httpwg.org/specs/rfc6266.html#disposition.parameter.filename
https://httpwg.org/specs/rfc6266.html#advice.generating

Co-authored-by: buengese <buengese@protonmail.com>
2022-06-20 12:06:09 +01:00
..
about about: improved error message 2022-05-13 12:08:10 +01:00
all bisync: implementation #5164 2021-11-01 21:00:27 +03:00
authorize config: remove log.Fatal and replace with error passing where possible 2021-03-14 16:03:35 +00:00
backend docs: fix links to rc sections 2022-01-12 19:51:26 +01:00
bisync Remove github.com/pkg/errors and replace with std library version 2021-11-07 11:53:30 +00:00
cachestats Remove github.com/pkg/errors and replace with std library version 2021-11-07 11:53:30 +00:00
cat docs: punctuation cleanup 2021-10-20 22:56:19 +02:00
check docs: improve grammar and fix typos (#5361) 2021-11-04 12:50:43 +01:00
checksum docs: punctuation cleanup 2021-10-20 22:56:19 +02:00
cleanup docs: Add full stops for consistency in rclone --help 2020-09-08 16:26:09 +01:00
cmount cmount: add tracing for *xattr FUSE callbacks 2022-06-16 22:13:50 +01:00
config Remove github.com/pkg/errors and replace with std library version 2021-11-07 11:53:30 +00:00
copy lib/file: improve error message when attempting to create dir on nonexistent drive on windows 2021-10-01 23:18:39 +02:00
copyto docs: Removed ambiguity from copy command docs 2021-08-19 16:34:57 +01:00
copyurl copyurl: Add option to honor the HTTP header filename directive. 2022-06-20 12:06:09 +01:00
cryptcheck Remove github.com/pkg/errors and replace with std library version 2021-11-07 11:53:30 +00:00
cryptdecode Fix lint issues reported by staticcheck 2022-06-13 21:13:50 +02:00
dedupe docs: improve grammar and fix typos (#5361) 2021-11-04 12:50:43 +01:00
delete Use binary prefixes for size and rate units 2021-04-27 02:25:52 +03:00
deletefile Remove github.com/pkg/errors and replace with std library version 2021-11-07 11:53:30 +00:00
genautocomplete docs: spelling: e.g. 2020-10-28 18:16:23 +00:00
gendocs refactor: replace strings.Replace with strings.ReplaceAll 2022-05-17 11:08:37 +01:00
hashsum hashsum: support creating hash from data received on stdin 2021-11-11 15:16:45 +01:00
link link: use "off" value for unset expiry 2021-04-07 13:58:37 +01:00
listremotes docs: punctuation cleanup 2021-10-20 22:56:19 +02:00
ls docs: improve grammar and fix typos (#5361) 2021-11-04 12:50:43 +01:00
lsd docs: punctuation cleanup 2021-10-20 22:56:19 +02:00
lsf Remove github.com/pkg/errors and replace with std library version 2021-11-07 11:53:30 +00:00
lsjson Remove github.com/pkg/errors and replace with std library version 2021-11-07 11:53:30 +00:00
lsl cmd: fix spelling of Definition 2019-10-14 17:02:09 +01:00
md5sum hashsum: support creating hash from data received on stdin 2021-11-11 15:16:45 +01:00
mkdir mkdir: warn when using mkdir on remotes which can't have empty directories 2020-07-08 17:55:58 +01:00
mount mount: log IO errors at ERROR level - fixes #6217 2022-06-16 22:13:50 +01:00
mount2 mount: add --devname to set the device name sent to FUSE for mount display 2022-02-09 11:56:43 +00:00
mountlib mount: fix --devname and fusermount: unknown option 'fsname' when mounting via rc 2022-04-25 12:17:25 +01:00
move docs: fix markup of arguments #4276 2021-01-25 22:40:46 +03:00
moveto docs: Removed ambiguity from copy command docs 2021-08-19 16:34:57 +01:00
ncdu ncdu: replace termbox with tcell's termbox wrapper 2022-06-19 11:22:45 +01:00
obscure docs: improve grammar and fix typos (#5361) 2021-11-04 12:50:43 +01:00
purge docs: update documentation of commands delete,purge,rmdir,rmdirs 2020-11-23 17:10:08 +00:00
rc refactor: replace strings.Replace with strings.ReplaceAll 2022-05-17 11:08:37 +01:00
rcat rcat: add --size flag for more efficient uploads of known size - fixes #4403 2021-04-13 12:25:47 +01:00
rcd rcd: Added systemd notification during the 'rclone rcd' command call. This also fixes #5073. 2021-03-11 17:12:14 +00:00
reveal cmd: fix spelling of Definition 2019-10-14 17:02:09 +01:00
rmdir docs: update documentation of commands delete,purge,rmdir,rmdirs 2020-11-23 17:10:08 +00:00
rmdirs docs: update documentation of commands delete,purge,rmdir,rmdirs 2020-11-23 17:10:08 +00:00
selfupdate Fix lint issues reported by staticcheck 2022-06-13 21:13:50 +02:00
serve serve ftp: check --passive-port arguments are correct 2022-06-16 22:13:50 +01:00
settier Remove github.com/pkg/errors and replace with std library version 2021-11-07 11:53:30 +00:00
sha1sum hashsum: support creating hash from data received on stdin 2021-11-11 15:16:45 +01:00
size docs/size: extend documentation of size command 2022-04-26 19:37:15 +02:00
sync docs: Removed ambiguity from copy command docs 2021-08-19 16:34:57 +01:00
test test info: check file name lengths using 1,2,3,4 byte unicode characters 2022-06-16 22:13:50 +01:00
touch touch: fix issue where directory is created instead of file 2022-01-28 20:29:12 +01:00
tree tree: remove obsolete --human replaced by global --human-readable - fixes #5868 2021-12-21 20:17:00 +01:00
version Remove github.com/pkg/errors and replace with std library version 2021-11-07 11:53:30 +00:00
cmd.go Fix lint issues reported by staticcheck 2022-06-13 21:13:50 +02:00
help.go docs: improve standard list of properties for options 2022-01-28 19:43:51 +01:00
progress.go Add a download flag to hashsum and related commands to force rclone to download and hash files locally 2020-12-27 15:40:44 +00:00
selfupdate_disabled.go build: apply gofmt from golang 1.17 2021-09-09 20:43:59 +03:00
selfupdate_enabled.go build: apply gofmt from golang 1.17 2021-09-09 20:43:59 +03:00
siginfo_darwin.go build: apply gofmt from golang 1.17 2021-09-09 20:43:59 +03:00
siginfo_others.go build: apply gofmt from golang 1.17 2021-09-09 20:43:59 +03:00