Good afternoon! I currently use rclone to backup many different file sources to different cloud providers. I'm looking at ways to automate this. What is the simplest way, I have a good many I would like to automate?
I don't need to be told about add/deletes to the /BACKUP directory 'cos I expect that to change every night, but if the mp3 or flac area changes I want to know.
@sweh while I write scripts to automate some things, I'm a little lost at the script -- even walking through it slowly.
You have some parameters, got it.
When you are changing directories "cd /$1" what does the $1 represent? I basically am not following the code from that point. I understand the obvious things like config file locations, just a lot more complicated than how I run it.
If you could explain the steps, I would appreciate it.
rc() is a function. It takes various parameters. These parameters are called positional parameters. The first parameter passed is stored in$1, the second in$2 and so on.