Linux Version
https://namu.wiki/w/rclone
https://rclone.org/docs/
# Installation in case rclone is in package
sudo apt install rclone
#Rclone version check
rclone version
#installation without apt
sudo apt-get install zip
curl https://rclone.org/install.sh | sudo bash
#Configuration
sudo rclone config
#Copy from server to cloud
rclone copy SOURCE TARGET
rclone move SOURCE TARGET
#ex)
rclone copy --ignore-existing /home/file.txt remote:foldername
--ignore-existing = Skip all files that exist on destination, this value is DEFAULT, no need to insert.
#/home/file.txt = files which needs to be uploaded
#remote:sync name created in config
#foldername : folder where to be uploaded, BLANK is root directory
#ex2)
rclone copy --ignore-existing /var/lib/transmission-daemon/downloads remote:tv
#Crontab setting
sudo crontab -e
0 12 * * * /usr/bin/sudo /usr/bin/rclone copy --ignore-existing /var/lib/transmission-daemon/downloads remote:upload
0 12 * * * /usr/bin/sudo /usr/bin/rclone move --ignore-existing /var/lib/transmission-daemon/downloads remote:share
Window version
Download app
unzip
c:\rclone
run
rclone config
connect to cloud
press enter if you don't know the details
command
onedrive is your config name.
rclone copy "C:\path\to\your\file_or_folder" onedrive:/YourDestinationFolder --progress
rclone move "C:\path\to\your\file_or_folder" onedrive:/YourDestinationFolder --progress
'Computer > Linux' 카테고리의 다른 글
Oracle server installation [Free] (0) | 2022.04.18 |
---|---|
SSL 무료로 설치 렛츠인크립트 Let's Encrypt (0) | 2021.09.22 |
Diable sleep/hibernation mode in Ubuntu (0) | 2020.03.31 |
github (0) | 2019.05.22 |
fdisk (0) | 2019.05.19 |
AUTOFS (0) | 2019.05.19 |
User account control (0) | 2019.05.15 |
Samba (0) | 2019.05.12 |