Hello community! I'm trying to write a batch file that can kick off multiple rclone scripts to run at the same time. I use RCLONE for clients to offload their files once a day to an offsite backup target. I also like to see what the script is doing so I have -P flag.
I use a Mac Terminal or a Ubuntu VM for this effort. I have found a few articles showing how to kick off different CMD prompts running one at a time.
I have a bat file something like this.
--
echo "Start Backup Job"
WAIT 2
echo "Client #1 Start"
rclone copy FROM TO -v -P
echo "Client #2 Start"
rclone copy FROM TO -v -P
--
I've tried a few different methods. I want to be able to see all of the current scripts that are running and their progress. This helps determine how far along it is in running as some of my clients have a few hundred thousand files.
Is this possible? How would the script look? Thanks in advance.
Eh, I meant a script file from linux. I use name.sh nomenclature, but I cannot find anywhere online to assist with what I was wanting. I guess there is other way to do it, such as through PHP or some other programmatic way... was just hopeful it can be done in a simple script.