Solved : /usr/bin/tar: Argument list too long
Solved: /usr/bin/tar: Argument list too long
On Linux if you are trying to tar large no. of files then shell shows above mentioned message. After researching through several forums I found a solution for it.
find . -name '*.txt' -print0 | tar -cvzf foo.tar.gz --files-from -