Simple Bash Rsync Script
Budget: $10 – $30 USD
Hi,
I need a rsync script which will do following
we have 10 folders and each folder has 1 cookie file
folder1>cookie.file
folder2>cookie.file
folder3>cookie.file
folder4>cookie.file
folder5>cookie.file
folder6>cookie.file
folder7>cookie.file
folder8>cookie.file
folder9>cookie.file
folder10>cookie.file
We need a simple Rsync script (sync.sh file) in bash that will put cookie.file to another folder incrementaly
for example when we first run script it will put cookie.file from folder1 when we again run script it will put file from folder2 when we again run script it will put file from folder3 to another folder.
The simplest way to do this is to create a text file with bash file that will put incremental number each time file run once it reaches 10 it will reset to 0.
I need a rsync script which will do following
we have 10 folders and each folder has 1 cookie file
folder1>cookie.file
folder2>cookie.file
folder3>cookie.file
folder4>cookie.file
folder5>cookie.file
folder6>cookie.file
folder7>cookie.file
folder8>cookie.file
folder9>cookie.file
folder10>cookie.file
We need a simple Rsync script (sync.sh file) in bash that will put cookie.file to another folder incrementaly
for example when we first run script it will put cookie.file from folder1 when we again run script it will put file from folder2 when we again run script it will put file from folder3 to another folder.
The simplest way to do this is to create a text file with bash file that will put incremental number each time file run once it reaches 10 it will reset to 0.