If you are running into the problem Peter mentions below, it can be overcome by changing to the parent directory and supplying the directory name to tar. By default, tar will recursively grab all the files in the supplied directory name and descend through the directory tree.
Of course, this will grab other files besides *.pdf, if they exist in this directory. You may wish to read the manual regarding including and excluding files to see what approach is easiest to implement in your scenario: http://www.gnu.org/software/tar/manual/index.html -dP -----Original Message----- Peter Breitenlohner wrote (in reply to Akshay Bajpai): >From your original mail I see that you use "tar -cf <TAR-FILE.tar> *.pdf", and when your shell expands the "*.pdf" this may well exceed the maximum command line length allowed by you operating system. pb
