Commit Graph

128 Commits

Author SHA1 Message Date
7436768d62 docs for serve docker and docker plugin (#5415) 2021-07-10 23:56:09 +03:00
b40d9bd4c4 cmd: add hashSUM file support (#5352)
Currently rclone check supports matching two file trees by sizes and hashes.
This change adds support for SUM files produced by GNU utilities like sha1sum.

Fixes #1005 

Note: checksum by default checks, hashsum by default prints sums.
New flag is named "--checkfile" but carries hash name.
Summary of introduced command forms:

```
rclone check sums.sha1 remote:path --checkfile sha1
rclone checksum sha1 sums.sha1 remote:path             
rclone hashsum sha1 remote:path --checkfile sums.sha1
rclone sha1sum remote:path --checkfile sums.sha1
rclone md5sum remote:path --checkfile sums.md5
```
2021-07-07 18:34:16 +03:00
0bfd6f793b docs: replace OSX with macOS 2021-07-05 14:51:00 +01:00
29f967dba3 make commanddocs for v1.56 (#5383) 2021-06-08 18:57:04 +03:00
5b6f637461 fs/hash: align hashsum names and update documentation (#5339)
- Unify all hash names as lowercase alphanumerics without punctuation.
- Legacy names continue to work but disappear from docs, they can be depreciated or dropped later.
- Make rclone hashsum print supported hash list in case of wrong spelling.
- Update documentation.

Fixes #5071
Fixes #4841
2021-05-21 17:32:33 +03:00
2925e1384c Use binary prefixes for size and rate units
Includes adding support for additional size input suffix Mi and MiB, treated equivalent to M.
Extends binary suffix output with letter i, e.g. Ki and Mi.
Centralizes creation of bit/byte unit strings.
2021-04-27 02:25:52 +03:00
6e2e2d9eb2 Version v1.55.0 2021-03-31 19:12:08 +01:00
fd94b3a473 docs: replace #file-caching with #vfs-file-caching
The documentation had dead links pointing to #file-caching. They've been
moved to point to #vfs-file-caching.
2021-02-13 12:56:25 +00:00
7f5ee5d81f Version v1.54.0 2021-02-02 14:17:09 +00:00
4323ff8a63 docs: fix broken link in serve sftp/ftp #4968 2021-01-27 13:41:32 +03:00
c8cfa43ccc Add a download flag to hashsum and related commands to force rclone to download and hash files locally
This commit modifies the operations.hashSum function by adding an alternate code path. This code path is triggered by passing downloadFlag = True. When activated, rclone will download files from the remote and hash them locally. downloadFlag = False preserves the existing behavior of using the remote to retrieve the hash.

This commit modifies HashLister to support the new hashSum method as well as consolidating the roles of HashLister, HashListerBase64, Md5sum, and Sha1sum.  The printing of hashes from the function defined in HashLister has been revised to work with --progress.  There are light changes to operations.syncFprintf and cmd.startProgress for this.

The unit test operations_test.TestHashSums is modified to support this change and test the download functionality.

The command functions hashsum, md5sum, sha1sum, and dbhashsum are modified to support this change.  A download flag has been added and an output-file flag has been added.  The output-file flag writes hashes to a file instead of stdout to avoid the need to redirect stdout.
2020-12-27 15:40:44 +00:00
2896f51a22 docs: Fixed links to VFS FIle Caching section 2020-11-23 16:30:58 +00:00
3f3afe489f docs: mount: minor changes to wording 2020-10-28 15:43:49 +00:00
70b21d9c87 docs: Update mount docs
Eliminate repeat word mode
2020-10-28 15:42:33 +00:00
5164c3d2d0 genautocomplete: add support to output to stdout 2020-10-22 17:28:33 +01:00
510ac341e1 Version v1.53.0 2020-09-02 17:00:18 +01:00
e62c032184 docs: remove manually set dates and use git dates instead 2020-06-01 13:07:46 +01:00
6882aeff97 Version v1.52.0 2020-05-27 17:31:10 +01:00
4d6af44045 docs: update all auto generated docs 2020-05-27 17:31:09 +01:00
74b8cbfb84 docs: set unsafe HTML parsing to false and fix raw HTML insertion
This means that markdown files can't contain <thing> any more.
2020-05-27 17:31:09 +01:00
050879f0ca docs: make command docs titles be one higher 2020-05-27 17:31:09 +01:00
6d19bbba73 docs: add description to commands and index page 2020-05-27 17:31:08 +01:00
31a1cc46b7 copyurl: add no-clobber flag - fixes #3950 2020-04-19 12:40:17 +01:00
a54210a2e4 docs: restore missing mount --daemon docs
This was done as part of ebfeec9fb45e89f6 which unfortunately patched
the auto generated files.
2020-02-10 15:29:39 +00:00
8b664c3ec5 docs: restore lost spelling fixes
These came from 3d424c6e08eb70b7 which unfortunately got added the
docs to the auto generated files.
2020-02-10 15:29:39 +00:00
102a38bb95 docs: restore lost VFS poll interval docs
These came from 3d475dc0eec8f55e which unfortunately got added the
docs to the auto generated files.
2020-02-10 15:29:39 +00:00
7a54e13110 docs: restore lost VFS case insensitive docs
These came from 1c4e33d4adc4be64 which unfortunately
added the docs to the auto generated files.
2020-02-10 15:29:39 +00:00
feee92c790 docs: restore lost mount share docs
These came from 162fdfe4552cd9cd which unfortunately added the docs to
the auto generated files.
2020-02-10 15:29:39 +00:00
de93852512 docs: restore lost auth proxy logs
These came from f2a789ea98b14bc7 which unfortunately added the docs to
the auto generated files.
2020-02-10 15:29:39 +00:00
dfb710eab7 gendocs: add autogenerated header to all docs 2020-02-10 15:29:39 +00:00
43daecd89b Version v1.51.0 2020-02-01 10:40:01 +00:00
f2a789ea98 serve sftp: Add support for public key with auth proxy - fixes #3572 2020-01-15 16:23:57 +00:00
162fdfe455 mount: document remotes as network shares on Windows
Provided instructions for mounting remotes as network shares/network drives in a Windows environment
2019-11-27 11:40:24 +00:00
520ddbcceb config: do not open browser on headless if google fs
On google fs (drive, google photos, and google cloud storage), if
headless is selected, do not open browser.

This also supplies a new option "auth-no-open-browser" for authorize
if the user does not want it.

This should fix #3323.
2019-10-30 14:12:42 +00:00
6fabf476cf Version v1.50.0 2019-10-26 11:04:54 +01:00
1c4e33d4ad vfs: add flag --vfs-case-insensitive for windows/macOS mounts
rclone mount when run on Windows & macOS will now default to `--vfs-case-insensitive`.
This means that
2019-09-04 21:30:48 +01:00
b71ac141cc copyurl: add --auto-filename flag for using file name from url in destination path (#3451) 2019-09-03 17:25:19 +01:00
a6387e1f81 Version v1.49.0 2019-08-26 15:25:20 +01:00
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
4ee6de5c3e docs: add a new page with global flags and link to it from the command docs
In f544234 we removed the global flags from each command as it was
making each page very big and causing 1000s of lines of duplication in
the man page.

This change adds a new flags page with all the global flags on and
links each command page to it.

Fixes #3273
2019-06-20 16:45:44 +01:00
245fed513a Version v1.48.0 2019-06-15 13:55:41 +01:00
f544234e26 gendocs: remove global flags from command help pages 2019-05-11 23:39:50 +01:00
3d475dc0ee mount: Fix poll interval documentation 2019-04-24 18:21:04 +01:00
a0d4fdb2fa Version v1.47.0 2019-04-13 11:01:58 +01:00
3d424c6e08 docs: fix various typos 2019-03-28 15:12:51 +00:00
eb85ecc9c4 Version v1.46 2019-02-09 10:42:57 +00:00
d35bd15762 Version v1.45 2018-11-24 13:44:25 +00:00
64fce8438b docs: Fix a couple of minor typos in rclone_mount.md
* "transferring" instead of "transfering"
* "connection" instead of "connnection"
* "mount" instead of "mount mount"
2018-11-14 22:48:58 +00:00
f96ce5674b Version v1.44 2018-10-15 11:03:08 +01:00
19cf3bb9e7 Fixed typo (duplicate word) (#2563) 2018-09-10 19:09:48 -07:00