Create a shell archive. More information: https://manned.org/man/freebsd/shar.
shar path/to/file1 path/to/file2 ... > path/to/archive.sh