albertony
482bfae8fa
docs: consistent newline of first line in command output
2024-08-15 18:26:34 +02:00
Nick Craig-Wood
bff702a6f1
docs: group the global flags and make them appear on command and flags pages
...
This adds an additional parameter to the creation of each flag. This
specifies one or more flag groups. This **must** be set for global
flags and **must not** be set for local flags.
This causes flags.md to be built with sections to aid comprehension
and it causes the documentation pages for each command (and the
`--help`) to be built showing the flags groups as specified in the
`groups` annotation on the command.
See: https://forum.rclone.org/t/make-docs-for-mortals-not-only-rclone-gurus/39476/
2023-08-02 12:53:09 +01:00
albertony
6d18f60725
docs: add minimum versions to the command pages
2022-12-03 18:58:55 +01:00
albertony
555def2da7
build: add package comments to silence revive linter
2022-08-28 13:43:51 +02:00
albertony
53f831f40a
docs: add missing code section formatting to commands and flags
2022-06-21 23:43:00 +02:00
Atílio Antônio
c08d48a50d
docs: improve grammar and fix typos ( #5361 )
...
This alters some comments in source files, but is interested mainly in documentation files and help messages.
2021-11-04 12:50:43 +01:00
albertony
e2f47ecdeb
docs: punctuation cleanup
...
See #5538
2021-10-20 22:56:19 +02:00
Evan Harris
83368998be
docs: Updated sync and dedupe command docs #4429
2021-03-13 15:01:32 +00:00
Nick Craig-Wood
3e986cdf54
dedup: add warning if used on a remote which can't have duplicate names
2021-01-22 15:25:35 +00:00
Ilyess Bachiri
5d1f947f32
docs: fix a typo in the dedupe docs
2021-01-05 15:46:57 +00:00
Nick Craig-Wood
86014cebd7
dedupe: add --dedupe-mode list to just list dupes, changing nothing
2020-12-02 16:52:12 +00:00
Nick Craig-Wood
507f861c67
dedupe: add --by-hash to dedupe on hash not file name - fixes #1674
2020-12-02 16:52:12 +00:00
Josh Soref
e4a87f772f
docs: spelling: e.g.
...
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
2020-10-28 18:16:23 +00:00
David
f4dd8e3fe8
dedupe: minor clarification in docs
...
dedupe will not delete equal files if they are located in another folder.
2020-10-14 15:31:47 +01:00
Nick Craig-Wood
62f0bbb598
dedupe: Make it obey the --size-only flag for duplicate detection #4321
2020-07-28 11:40:37 +01:00
Nick Craig-Wood
844b903595
docs: promote the use of -i/--interactive and "rclone sync -i" everywhere #1574
2020-06-10 12:33:53 +01:00
Nick Craig-Wood
7cf8ea354c
dedupe: add missing modes to help string
2020-01-19 11:09:45 +00:00
Nick Craig-Wood
81002747c5
dedupe: implement keep smallest too
...
This is to help deduping google docs and their exported versions if
they accidentally get uploaded to the source again.
See: https://forum.rclone.org/t/my-stupidity-or-a-bug/13861
2020-01-17 13:08:37 +00:00
Nick Craig-Wood
1b2ffbeca0
cmd: fix environment variables not setting command line flags
...
Before this fix quite a lot of the commands were ignoring environment
variables intended to set flags.
2019-10-14 17:02:09 +01:00
Nick Craig-Wood
19429083ad
cmd: fix spelling of Definition
2019-10-14 17:02:09 +01:00
Nick Craig-Wood
57d5de6fba
build: fix up package paths after repo move
...
git grep -l github.com/ncw/rclone | xargs -d'\n' perl -i~ -lpe 's|github.com/ncw/rclone|github.com/rclone/rclone|g'
goimports -w `find . -name \*.go`
2019-07-28 18:47:38 +01:00
Aleksandar Jankovic
f78cd1e043
Add context propagation to rclone
...
- Change rclone/fs interfaces to accept context.Context
- Update interface implementations to use context.Context
- Change top level usage to propagate context to lover level functions
Context propagation is needed for stopping transfers and passing other
request-scoped values.
2019-06-19 11:59:46 +01:00
Richard Yang
a81ec00a8c
dedupe: Add dedupe largest functionality - fixes #2269
2018-04-26 16:21:07 +01:00
Nick Craig-Wood
11da2a6c9b
Break the fs package up into smaller parts.
...
The purpose of this is to make it easier to maintain and eventually to
allow the rclone backends to be re-used in other projects without
having to use the rclone configuration system.
The new code layout is documented in CONTRIBUTING.
2018-01-15 17:51:14 +00:00
Dan Dascalescu
9417194751
Fix dedupe description typo
2017-10-16 21:51:31 +01:00
Nick Craig-Wood
bfe812ea6b
dedupe: implement merging of duplicate directories - fixes #1243
2017-08-07 15:36:41 +01:00
Andy Pilate
ef328c5497
Fixes typo in command dedupe definition
2017-07-27 21:17:57 +01:00
Nick Craig-Wood
2cbdb95ce5
Only show transfer stats on commands which transfer stuff - fixes #849
2016-12-04 16:52:24 +00:00
Nick Craig-Wood
5e35aeca9e
Regularize the command definition names
2016-12-03 09:08:40 +00:00
Nick Craig-Wood
e27b91ffb8
Factor each commmand into its own package
2016-08-05 17:13:54 +01:00