Commit Graph

2533 Commits

Author SHA1 Message Date
4323ff8a63 docs: fix broken link in serve sftp/ftp #4968 2021-01-27 13:41:32 +03:00
c57af26de9 docs: add note about --check-first being useful with --order-by 2021-01-26 12:12:26 +00:00
7d89912666 Add lluuaapp to contributors 2021-01-26 12:12:26 +00:00
127f48e8ad docs: Rewrite rclone filtering documentation
This is an attempt at rewriting the rclone filter documentation page.

I have drawn largely from what appears to be the strong original
structure of the page; existing text, and forum comments.

The term flag is used throughout rather than differentiating `--`
options with more complex arguments. That diverges from some standard
practice but is consistent with messages in the rclone binary and `go`
documentation.

The term directory not folder is used throughout.

I tried referring to objects more broadly rather than files and it
just did not seem to work. Apart from a note at the top the
explanations refer entirely to paths, directories and files. My
justification is that bucket store users understand the concept of
files. Not all users of directory aware storage are so familiar with
objects, keys and metadata.

Many of the changes I have made involve moving issues into what seemed
to me to be more relevant parts of the original page structure. I
still find the content repetitious and overly long but that may be
inevitable when users can only be expected to read the section of the
page they think most relevant.

I have eliminated the rsync section from the original structure. It is
hard enough explaining how rclone filters work without also setting
out how they do not. Comment on sync is instead relegated to a
paragraph in the directory filter section.

The structure of the page is intended to work with a hugo toc card
from html Header2 to Header3.

My original intention was to establish a separate examples section. I
have instead retained examples in each section, added to them and
tried to make clear what is documentation and what example.

The changes draw on Github and Forum issues too numerous to mention.
for instance:

https://forum.rclone.org/t/certain-exclusion-flags-seem-to-be-ignored/20049/2

I am **especially** grateful for
https://forum.rclone.org/t/object-key-remote-directory-filter-clarification/20386/2
for making sense of directory filters for me.

@ncw has a fun (and useful) online filter app at
https://filterdemo.rclone.org/ I have not referred to it at this stage
though I particularly like the fact that it is tied to the same
codebase as an rclone version.

I have added cautions about mixing the `--filter...` flags with
`--exclude...` or `--include...`. The same issues seem to arise as
already recognised between the latter two.

The formal summary of glob syntax introduced at the top of the page is
shamelessly stolen from https://godoc.org/github.com/gobwas/glob

I have tried not to alter too many header descriptions and thereby
break existing links to them.

The reference to 'lass' in the example has been retained to confuse
all those not of Scottish or Yorkshire heritage.

Some of my activity was to remove ambiguity and I anticipate
suggestions to roll that back where it has become overly complex.

I tried particularly to bring together and make clear material about
directory filters. It was previously scattered throughout the page and
I couldn't understand it. I am particularly grateful for the
explanations I received about directory filters though any remaining
errors are entirely my own.

Removed erroneous references to non existent `--filter...` flags.

In some ways the best person to write this page would be one with no
knowledge whatsoever of how rclone filters work. The further I got
into it the better qualified I found myself to be.

E&OE
2021-01-22 16:59:22 +00:00
757e696a6b Add Sơn Trần-Nguyễn to contributors 2021-01-21 18:35:04 +00:00
e3979131f2 Add CokeMine to contributors 2021-01-21 18:35:04 +00:00
3b49440c25 crypt: docs: extended description 2021-01-21 13:40:12 +00:00
7c0287b824 docs: fix references to upstreams in union example 2021-01-21 13:33:16 +00:00
f97c2c85bd docs: update ftp with note about active mode
See: https://forum.rclone.org/t/copy-or-sync-from-ftp-server-results-in-source-directory-not-found/20636/4
2021-01-21 13:21:31 +00:00
768ad4de2a docs: Updated crypt/cryptdecode docs with additional info 2021-01-21 09:55:20 +00:00
817987dfc4 docs: Update Onedrive max file size limit 2021-01-21 09:50:48 +00:00
4daf8b7083 Changelog updates from Version v1.53.4 2021-01-20 22:34:04 +00:00
b0491dec88 Add new email address for buengese to contributors 2021-01-19 16:50:28 +00:00
ccfefedb47 Add Patrik Nordlén to contributors 2021-01-19 16:48:37 +00:00
2fffcf9e7f Add Janne Johansson to contributors 2021-01-19 16:48:37 +00:00
a39a5d261c docs/compress: but a warning at the top 2021-01-18 21:42:58 +01:00
80e63af470 jottacloud: Add support for Telia Cloud (#4930) 2021-01-17 02:38:57 +01:00
de21356154 Add Denis Neuling to contributors 2021-01-11 16:44:11 +00:00
35a4de2030 chunker: fix case-insensitive NewObject, test metadata detection #4902
- fix test case FsNewObjectCaseInsensitive (PR #4830)
- continue PR #4917, add comments in metadata detection code
- add warning about metadata detection in user documentation
- change metadata size limits, make room for future development
- hide critical chunker parameters from command line
2021-01-10 22:29:24 +03:00
ec73d2fb9a azure-blob-storage: utilize streaming capabilities - #1614 2021-01-10 17:02:42 +00:00
35ccfe1721 Add kice to contributors 2021-01-10 16:34:46 +00:00
01adee7554 build: raise minimum go version to go1.12 2021-01-08 12:17:09 +00:00
78a76b0d29 onedrive: remove % and # from the set of encoded characters (#4909)
onedrive: remove % and # from the set of encoded characters

This fixes #4700, fixes #4184, fixes #2920.
2021-01-08 12:07:17 +00:00
e775328523 ftp,sftp: Make --tpslimit apply - fixes #4906 2021-01-08 10:29:57 +00:00
752997c5e8 Add Yury Stankevich to contributors 2021-01-08 08:58:50 +00:00
71edc75ca6 HDFS (Hadoop Distributed File System) implementation - #42
This includes an HDFS docker image to use with the integration tests.

Co-authored-by: Ivan Andreev <ivandeex@gmail.com>
Co-authored-by: Nick Craig-Wood <nick@craig-wood.com>
2021-01-07 09:48:51 +00:00
acbcb1ea9d Add Ilyess Bachiri to contributors 2021-01-05 19:44:25 +00:00
d4444375ac Add Kerry Su to contributors 2021-01-05 19:44:25 +00:00
66c3f2f31f new backend: zoho workdrive - fixes #4533 2020-12-30 17:56:08 +00:00
62c9074132 compress: fix icon in docs 2020-12-30 17:56:08 +00:00
fbf9942fe7 Add Ingo Weiss to contributors 2020-12-30 10:14:50 +00:00
a64fc05385 Add Benjamin Gustin to contributors 2020-12-29 19:48:09 +00:00
72eb74e94a Add Claudio Bantaloukas to contributors 2020-12-28 15:45:40 +00:00
6bfec25165 Add Mitsuo Heijo to contributors 2020-12-28 15:45:39 +00:00
1c61d51448 Add Brad Ackerman to contributors 2020-12-28 15:45:39 +00:00
74a321e156 Add gtorelly to contributors 2020-12-27 15:55:00 +00:00
fce885c0cd Add Milly to contributors 2020-12-27 15:55:00 +00:00
4028a245b0 Add kelv to contributors 2020-12-27 15:55:00 +00:00
c5b07a6714 Add lostheli to contributors 2020-12-27 15:55:00 +00:00
b0965bf34f Add Nathan Collins to contributors 2020-12-27 15:54:33 +00:00
1eaca9fb45 Add Bob Bagwill to contributors 2020-12-27 15:54:33 +00:00
d833e49db9 docs: Update onedrive setup guide
I followed this guide and successfully set up OneDrive on rclone, but there is a detail which stumped me for some time.
You may not copy and paste `http://localhost:53682/` from this document to Microsoft's website, you must type it, otherwise it is not recognized as a valid address. I edited the line with this information.
2020-12-27 15:47:56 +00:00
3aee544cee docs: fix invalid option name in example of crypt config 2020-12-27 15:46:23 +00: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
46858ee6fe docs: fix typo in FAQ 2020-12-27 12:43:30 +00:00
5ae5e1dd56 docs: add an extra paragraph with links to rclone rc and the HTTP API
See: https://forum.rclone.org/t/rcd-endpoint-documenation/20949
2020-12-11 10:58:59 +00:00
816e68a274 Add Laurens Janssen to contributors 2020-12-11 10:00:51 +00:00
6ab6c8eefa gcs: Storage class object header support - fixes #3043 2020-12-10 20:06:49 +00:00
7ae84a3c91 Add James Lim to contributors 2020-12-09 20:00:22 +00:00
ce7cdadb71 Add zhucan to contributors 2020-12-02 16:50:16 +00:00