Current location: Hot Scripts Forums » General Community » The Lounge » Tar Backup of selected file extension


Tar Backup of selected file extension

Reply
  #1 (permalink)  
Old 12-26-03, 06:12 AM
dhiru dhiru is offline
New Member
 
Join Date: Sep 2003
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Question Tar Backup of selected file extension

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 ?
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Copying a file shivam C/C++ 3 07-20-05 03:52 PM
Please I Need help before all my hair is gone! LisatheNovice Perl 6 11-22-03 03:05 PM
New Web Host, New Problem! justchat PHP 2 09-29-03 02:39 PM
Script to change file extensions JavaHead Script Requests 2 09-13-03 09:44 AM
Upload file type and size limiter! Arctic ASP 1 08-02-03 07:06 PM


All times are GMT -5. The time now is 03:14 AM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.