Found some files that you want to zip/tar up, but you’re hit with the argument list too long message? “tar – argument list too long”
The easiest way to get around this would be to use find, and output a list of those files to one solo file:
find . -type f -mtime -1 -size 100k -print > ./some-list-of-files
tar -cf allfiles.tgz –files-from ./some-list-of-files
The file “some-list-of-files” will print every file into a list, and then tar all the files within that list.