Blame
|
1 | # RCLONE |
||||||
|
2 | Rclone syncs files to and from cloud storage providers as well as |
||||||
| 3 | mounting them, listing them in lots of different ways. |
|||||||
|
4 | |||||||
| 5 | ## Overview |
|||||||
| 6 | | Command | Description | |
|||||||
| 7 | | - | - | |
|||||||
| 8 | | `rclone config` | Config rclone (e.g. connect with proton) | |
|||||||
| 9 | | - | - | |
|||||||
| 10 | | `rclone lsd proton:` | Show directories from proton | |
|||||||
| 11 | | `rclone lsd proton:Backups` | Show directories from proton in folder Backups | |
|||||||
| 12 | | `rclone ls proton:` | Show directories & files from proton | |
|||||||
| 13 | | `rclone ls proton:Backups` | Show directories & files from proton in folder Backups | |
|||||||
| 14 | | - | - | |
|||||||
| 15 | | `rclone copy <file> proton:Backups` | Copy <file> to proton to folder Backups | |
|||||||
| 16 | | - | - | |
|||||||
| 17 | | `rclone delete proton:Backups --min-age 30d` | Delete alle files from proton in folder Backups that are older than 30 days | |
|||||||
| 18 | | `rclone delete proton:Backups --dry-run` | Delete alle files from proton in folder Backups (dry run) | |
|||||||
| 19 | ||||||||
| 20 | ## Installation |
|||||||
| 21 | ```bash |
|||||||
|
22 | sudo apt install rclone # install rclone |
||||||
| 23 | ``` |
|||||||
| 24 | ||||||||
| 25 | :::info |
|||||||
| 26 | if rclone is too old and doesn't support proton, you have to |
|||||||
| 27 | - deinstall rclone |
|||||||
| 28 | - install newiest version of rclone manually |
|||||||
| 29 | ::: |
|||||||
| 30 | ```bash |
|||||||
| 31 | sudo apt remove rclone # if too old |
|||||||
| 32 | hash -r # clean bash cache |
|||||||
| 33 | sudo curl https://rclone.org/install.sh | sudo bash # install brand new version |
|||||||
| 34 | ``` |
|||||||
| 35 | ||||||||
| 36 | :::warning |
|||||||
| 37 | the newest version could have problems - deupgrade version |
|||||||
| 38 | ::: |
|||||||
| 39 | ```bash |
|||||||
|
40 | sudo rclone selfupdate --version v1.74.4 # currently errors in brand new v1.75 |
||||||
| 41 | ``` |
|||||||
