Is it possible to create a tar of only the last few lines of a file? Something like this does not seem to be working.
tail abc.xml | tar -zcf bac.tar.gz
I am trying to keep the compressed file size as small as possible. I do also want to transfer it over the network as fast as possible.