I currently have this script:
find . -iname '*.log' -print0 | xargs -0 tar zcf $file
To collect all the "*.log" files from a given directory. I would like to modify it to include also all the ".txt" files but I don't know how, this should be fairly simple right?