github.com/ncw/rclone@v1.48.1-0.20190724201158-a35aa1360e3e/docs/content/commands/rclone_check.md (about)

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