github.com/10XDev/rclone@v1.52.3-0.20200626220027-16af9ab76b2a/docs/content/commands/rclone_check.md (about)

     1  ---
     2  title: "rclone check"
     3  description: "Checks the files in the source and destination match."
     4  slug: rclone_check
     5  url: /commands/rclone_check/
     6  # autogenerated - DO NOT EDIT, instead edit the source code in cmd/check/ and as part of making a release run "make commanddocs"
     7  ---
     8  # rclone check
     9  
    10  Checks the files in the source and destination match.
    11  
    12  ## Synopsis
    13  
    14  
    15  Checks the files in the source and destination match.  It compares
    16  sizes and hashes (MD5 or SHA1) and logs a report of files which don't
    17  match.  It doesn't alter the source or destination.
    18  
    19  If you supply the --size-only flag, it will only compare the sizes not
    20  the hashes as well.  Use this for a quick check.
    21  
    22  If you supply the --download flag, it will download the data from
    23  both remotes and check them against each other on the fly.  This can
    24  be useful for remotes that don't support hashes or if you really want
    25  to check all the data.
    26  
    27  If you supply the --one-way flag, it will only check that files in source
    28  match the files in destination, not the other way around. Meaning extra files in
    29  destination that are not in the source will not trigger an error.
    30  
    31  
    32  ```
    33  rclone check source:path dest:path [flags]
    34  ```
    35  
    36  ## Options
    37  
    38  ```
    39        --download   Check by downloading rather than with hash.
    40    -h, --help       help for check
    41        --one-way    Check one way only, source files must exist on remote
    42  ```
    43  
    44  See the [global flags page](/flags/) for global options not listed here.
    45  
    46  ## SEE ALSO
    47  
    48  * [rclone](/commands/rclone/)	 - Show help for rclone commands, flags and backends.
    49