That could be an option. Another option could be to use find to put a list of all the files in a temporary file and then using --include-from=/tmp/filenames to copy just those files.
How can I create such a temporary file with find so that database/session_*.db are included but database/session* are excluded?
Bookmarks