Is it possible to get rsync to read a list of file to include from an array in the active script rather than a accompanying file?
## declare an array variable
declare -a files=("path" "path" "path")
rsync --files-from=${files[@]} source destination
Is there a better way to do this? I'd like to have just one script file to manage.