Inputs are saved in temporary file instead of being stored in array and are read by rsync with the --files-from option
A simple backup script using rsync