Hi all,
I want to make a script which will create one tar file , containing only those files which are required [like only .php and .html ].
I am thinking over one process that I make a function in php and pass the folder name [ the name of the folder to be created] and the extension of the files [ the file extension to be exclude from tar file like .gif , .jpg , .swf etc] in function as parameter and this function will create a zip file named <folder name>_<time stamp>.tar.gz file.
Kindly help me to make this script .
How I can do this ?