rclone

Home

Table of Contents


Install
       Rclone is a Go program and comes as a single binary file.

   Quickstart
       · Download (http://rclone.org/downloads/) the relevant binary.

       · Unpack and the rclone binary.

       · Run rclone config to setup.  See rclone config docs (http://rclone.org/docs/) for more details.

       See below for some expanded Linux / macOS instructions.

       See the Usage section (http://rclone.org/docs/) of the docs for how to use rclone, or run rclone -h.

   Linux installation from precompiled binary
       Fetch and unpack

              curl -O http://downloads.rclone.org/rclone-current-linux-amd64.zip
              unzip rclone-current-linux-amd64.zip
              cd rclone-*-linux-amd64

       Copy binary file

              sudo cp rclone /usr/bin/
              sudo chown root:root /usr/bin/rclone
              sudo chmod 755 /usr/bin/rclone

       Install manpage

              sudo mkdir -p /usr/local/share/man/man1
              sudo cp rclone.1 /usr/local/share/man/man1/
              sudo mandb

       Run rclone config to setup.  See rclone config docs (http://rclone.org/docs/) for more details.

              rclone config



   Usage
       Rclone syncs a directory tree from one storage system to another.

       Its syntax is like this

              Syntax: [options] subcommand <parameters> <parameters...>

       Source and destination paths are specified by the name you gave the storage system in the config file then the sub path, eg "drive:myfolder" to  look  at  "myfolder"  in
       Google drive.

       You can define as many storage paths as you like in the config file.

   Subcommands
       rclone uses a system of subcommands.  For example

              rclone ls remote:path # lists a re
              rclone copy /local/path remote:path # copies /local/path to the remote
              rclone sync /local/path remote:path # syncs /local/path to the remote

   rclone config
       Enter an interactive configuration session.

   Synopsis
       Enter an interactive configuration session.

              rclone config

   rclone copy
       Copy files from source to dest, skipping already copied

   Synopsis
       Copy the source to the destination.  Doesn't transfer unchanged files, testing by size and modification time or MD5SUM.  Doesn't delete files from the destination.

       Note  that  it  is  always  the contents of the directory that is synced, not the directory so when source:path is a directory, it's the contents of source:path that are
       copied, not the directory name and contents.

       If dest:path doesn't exist, it is created and the source:path contents go there.

       For example
             rclone copy source:sourcepath dest:destpath

       Let's say there are two files in sourcepath

              sourcepath/one.txt
              sourcepath/two.txt

       This copies them to

              destpath/one.txt
              destpath/two.txt

       Not to

              destpath/sourcepath/one.txt
              destpath/sourcepath/two.txt

       If you are familiar with rsync, rclone always works as if you had written a trailing / - meaning "copy the contents of this directory".  This applies to all commands and
       whether you are talking about the source or destination.

       See the --no-traverse option for controlling whether rclone lists the destination directory or not.

              rclone copy source:path dest:path

   rclone sync
       Make source and dest identical, modifying destination only.

   Synopsis
       Sync  the  source  to the destination, changing the destination only.  Doesn't transfer unchanged files, testing by size and modification time or MD5SUM.  Destination is
       updated to match source, including deleting files if necessary.

       Important: Since this can cause data loss, test first with the --dry-run flag to see exactly what would be copied and deleted.

       Note that files in the destination won't be deleted if there were any errors at any point.
      It is always the contents of the directory that is synced, not the directory so when source:path is a directory, it's the contents of source:path that  are  copied,  not
       the directory name and contents.  See extended explanation in the copy command above if unsure.

       If dest:path doesn't exist, it is created and the source:path contents go there.

              rclone sync source:path dest:path



1 Examples


rclone copy  --bwlimit 24k  --progress volume_u18pwbglhome.tar.gz   g:/tienda.universo/u18pwbgl/volume_u18pwbglhome.tar.gz

Author: Sebastian Emilio Narvaez

Created: 2023-05-21 Sun 20:17

Validate