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

     1  ---
     2  title: "rclone moveto"
     3  description: "Move file or directory from source to dest."
     4  slug: rclone_moveto
     5  url: /commands/rclone_moveto/
     6  # autogenerated - DO NOT EDIT, instead edit the source code in cmd/moveto/ and as part of making a release run "make commanddocs"
     7  ---
     8  # rclone moveto
     9  
    10  Move file or directory from source to dest.
    11  
    12  ## Synopsis
    13  
    14  
    15  If source:path is a file or directory then it moves it to a file or
    16  directory named dest:path.
    17  
    18  This can be used to rename files or upload single files to other than
    19  their existing name.  If the source is a directory then it acts exactly
    20  like the move command.
    21  
    22  So
    23  
    24      rclone moveto src dst
    25  
    26  where src and dst are rclone paths, either remote:path or
    27  /path/to/local or C:\windows\path\if\on\windows.
    28  
    29  This will:
    30  
    31      if src is file
    32          move it to dst, overwriting an existing file if it exists
    33      if src is directory
    34          move it to dst, overwriting existing files if they exist
    35          see move command for full details
    36  
    37  This doesn't transfer unchanged files, testing by size and
    38  modification time or MD5SUM.  src will be deleted on successful
    39  transfer.
    40  
    41  **Important**: Since this can cause data loss, test first with the
    42  --dry-run flag.
    43  
    44  **Note**: Use the `-P`/`--progress` flag to view real-time transfer statistics.
    45  
    46  
    47  ```
    48  rclone moveto source:path dest:path [flags]
    49  ```
    50  
    51  ## Options
    52  
    53  ```
    54    -h, --help   help for moveto
    55  ```
    56  
    57  See the [global flags page](/flags/) for global options not listed here.
    58  
    59  ## SEE ALSO
    60  
    61  * [rclone](/commands/rclone/)	 - Show help for rclone commands, flags and backends.
    62