Skip to content

Instantly share code, notes, and snippets.

@henriqueutsch
Created July 31, 2018 04:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save henriqueutsch/02af6b147ed48b63ee866a2dbfdb8f87 to your computer and use it in GitHub Desktop.
Save henriqueutsch/02af6b147ed48b63ee866a2dbfdb8f87 to your computer and use it in GitHub Desktop.
rclone nohup
#O nohup executa um comando como serviço
nohup rclone sync -v --transfers 50 --ignore-existing FullLife: /media/Drive5T/ &
#Esse segundo comando determina a saida para um local específico
nohup rclone sync -v --transfers 50 --ignore-existing FullLife: /media/Drive5T/ > /media/Drive5T/nohup.out 2>&1&
--transfers 50 => Executa 50 cópias de arquivos simultaneas
--ignore-existing => Ignora arquivos já copiados
FullLifeL: => Nome do Drive configurado anteriormente
/media/Drive5T => Estou copiando do meu Google Drive para o meu hd local
#Para ver se o comando está rodando
jobs -l
./rclone config
n => New Remote
[Nome do seu Drive] FullLife
6 => Drive
ENTER
ENTER
Cole o link no browser e copie o código de autirização
Cole o código de autorização
ENTER
y => Yes this is OK
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment