Use rsync to sync local and remove files
Rsync is a powerful tool that facilitates the transfer and synchronization of data between both local and remote systems.
Change number in file with Bash script
My goal was read the number in the file, and if the number is smaller than three add one to it, and if bigger reset the number to one. Write new to the file.