1
mirror of https://github.com/rclone/rclone synced 2024-12-11 23:54:00 +01:00
rclone/cmd
Eng Zer Jun 4f0ddb60e7 refactor: replace strings.Replace with strings.ReplaceAll
strings.ReplaceAll(s, old, new) is a wrapper function for
strings.Replace(s, old, new, -1). But strings.ReplaceAll is more
readable and removes the hardcoded -1.

Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
2022-05-17 11:08:37 +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: remove cgo from windows build requirements since it builds without 2022-04-29 18:04:21 +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 docs: fixed some typos 2021-04-28 22:55:27 +01:00
cryptcheck Remove github.com/pkg/errors and replace with std library version 2021-11-07 11:53:30 +00:00
cryptdecode cryptdecode: fix formatting 2021-01-21 10:39:51 +00: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: add --devname to set the device name sent to FUSE for mount display 2022-02-09 11:56:43 +00: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: refactor accumulated attributes into a struct 2022-04-26 21:12:52 +02: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 Remove github.com/pkg/errors and replace with std library version 2021-11-07 11:53:30 +00:00
serve refactor: replace strings.Replace with strings.ReplaceAll 2022-05-17 11:08:37 +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 size: warn about inaccurate results when objects with unknown size 2022-04-26 19:37:15 +02: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 Set proper exit code for errors that are not low-level retried (e.g. size/timestamp changing) 2022-05-13 12:02:55 +01: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