in reply to package and tar file


One thing you can do is use the tar utility
System command from your script can invoke it
tar -cvf <filename>.tar <filename> <filename1> ..
This will compress all the files into filename.tar.
to untar just do
tar -xvf hello.tar
HTH,
chimni