Irish SEO,  Marketing & Webmaster Discussion

 

Wamp and tar support

This is a discussion on Wamp and tar support within the Server / Technical Administration Tips and Queries forums, part of the Webmaster Help category; Anyone now how to add tar support to wamp? I'm using shell_exec and tar to extract a .tar file... Code: ...


Go Back   Irish SEO, Marketing & Webmaster Discussion > Webmaster Help > Server / Technical Administration Tips and Queries

Register Forum Rules FAQDonate Members List Calendar Search Today's Posts Mark Forums Read


Notices

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 27-08-2008, 05:48 PM
Tom Tom is online now
Wannabe Geek
 
Join Date: Jan 2007
Location: Kildare, Ireland
Posts: 183
Nominated 0 Times in 0 Posts
TOTW/F/M Award(s): 0
Tom is a splendid one to beholdTom is a splendid one to beholdTom is a splendid one to beholdTom is a splendid one to beholdTom is a splendid one to beholdTom is a splendid one to beholdTom is a splendid one to behold
Default Wamp and tar support

Anyone now how to add tar support to wamp? I'm using shell_exec and tar to extract a .tar file...

Code:
shell_exec("tar -czf $backup_fn -C $directory $foldertocompress");
it works fine online with my hosting providers but I'm not sure how to set it up myself for use with wamp.
__________________
MGS Web Design - Web Design Kildare, Web Design Ireland
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #2 (permalink)  
Old 27-08-2008, 07:08 PM
Forbairt's Avatar
respect my AW-THOR-IT-AYY
Recent Blog: Free CSS book
 
Join Date: Jun 2007
Location: My Office, Dublin
Posts: 2,097
Nominated 2 Times in 1 Post
Nominated TOTW/F/M Award(s): 1
Forbairt will become famous soon enoughForbairt will become famous soon enoughForbairt will become famous soon enoughForbairt will become famous soon enoughForbairt will become famous soon enoughForbairt will become famous soon enoughForbairt will become famous soon enoughForbairt will become famous soon enoughForbairt will become famous soon enoughForbairt will become famous soon enoughForbairt will become famous soon enough
Send a message via AIM to Forbairt Send a message via MSN to Forbairt Send a message via Yahoo to Forbairt Send a message via Skype™ to Forbairt
Default

hmmm ...

get yourself a copy of Native Win32 ports of some GNU utilities if you're going using command line tar onwindows
__________________
Forbairt Media | Web Design & Development Galway / Dublin, Ireland - coming soon ... ( vague but descriptive isn't it )
Recent Work: Safari Club African Safari Holidays - Malawi Safaris
Other Stuff: FluffyLinkulator Rapid Inclusion Service Tools
Jumper Stuff: Task Drop's Official Geansai Gorm Website
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3 (permalink)  
Old 27-08-2008, 08:09 PM
blacknight's Avatar
Web Slave
Recent Blog:
 
Join Date: Jan 2006
Location: Ireland
Posts: 6,521
blacknight is a splendid one to beholdblacknight is a splendid one to beholdblacknight is a splendid one to beholdblacknight is a splendid one to beholdblacknight is a splendid one to beholdblacknight is a splendid one to beholdblacknight is a splendid one to behold
Send a message via ICQ to blacknight Send a message via AIM to blacknight Send a message via MSN to blacknight
Default

Cygwin Information and Installation
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #4 (permalink)  
Old 27-08-2008, 08:21 PM
Forbairt's Avatar
respect my AW-THOR-IT-AYY
Recent Blog: Free CSS book
 
Join Date: Jun 2007
Location: My Office, Dublin
Posts: 2,097
Nominated 2 Times in 1 Post
Nominated TOTW/F/M Award(s): 1
Forbairt will become famous soon enoughForbairt will become famous soon enoughForbairt will become famous soon enoughForbairt will become famous soon enoughForbairt will become famous soon enoughForbairt will become famous soon enoughForbairt will become famous soon enoughForbairt will become famous soon enoughForbairt will become famous soon enoughForbairt will become famous soon enoughForbairt will become famous soon enough
Send a message via AIM to Forbairt Send a message via MSN to Forbairt Send a message via Yahoo to Forbairt Send a message via Skype™ to Forbairt
Default

Quote:
Originally Posted by blacknight View Post

If the other works I'd think cygwin is overkill ... (though it does bring some nice features with it)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #5 (permalink)  
Old 27-08-2008, 08:35 PM
blacknight's Avatar
Web Slave
Recent Blog:
 
Join Date: Jan 2006
Location: Ireland
Posts: 6,521
blacknight is a splendid one to beholdblacknight is a splendid one to beholdblacknight is a splendid one to beholdblacknight is a splendid one to beholdblacknight is a splendid one to beholdblacknight is a splendid one to beholdblacknight is a splendid one to behold
Send a message via ICQ to blacknight Send a message via AIM to blacknight Send a message via MSN to blacknight
Default

Cygwin is the only one I've any personal experience of

Fortunately these days I don't have to worry about this kind of stuff anymore
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #6 (permalink)  
Old 27-08-2008, 08:41 PM
Forbairt's Avatar
respect my AW-THOR-IT-AYY
Recent Blog: Free CSS book
 
Join Date: Jun 2007
Location: My Office, Dublin
Posts: 2,097
Nominated 2 Times in 1 Post
Nominated TOTW/F/M Award(s): 1
Forbairt will become famous soon enoughForbairt will become famous soon enoughForbairt will become famous soon enoughForbairt will become famous soon enoughForbairt will become famous soon enoughForbairt will become famous soon enoughForbairt will become famous soon enoughForbairt will become famous soon enoughForbairt will become famous soon enoughForbairt will become famous soon enoughForbairt will become famous soon enough
Send a message via AIM to Forbairt Send a message via MSN to Forbairt Send a message via Yahoo to Forbairt Send a message via Skype™ to Forbairt
Default

Quote:
Originally Posted by blacknight View Post
Cygwin is the only one I've any personal experience of

Fortunately these days I don't have to worry about this kind of stuff anymore
Haven't used Cygwin in a few years to be honest ... but it was a fairly big install then (doesn't matter so much now I guess)

Ah ... god bless Macs
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #7 (permalink)  
Old 28-08-2008, 10:44 AM
Tom Tom is online now
Wannabe Geek
 
Join Date: Jan 2007
Location: Kildare, Ireland
Posts: 183
Nominated 0 Times in 0 Posts
TOTW/F/M Award(s): 0
Tom is a splendid one to beholdTom is a splendid one to beholdTom is a splendid one to beholdTom is a splendid one to beholdTom is a splendid one to beholdTom is a splendid one to beholdTom is a splendid one to behold
Default

Thanks guys I've tried both but I'm lost as to what to do with either of them. I've installed Cygwin and I get a console when I run it and I've downloaded GNU UnxUtils. What do I do next
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #8 (permalink)  
Old 28-08-2008, 10:59 AM
Forbairt's Avatar
respect my AW-THOR-IT-AYY
Recent Blog: Free CSS book
 
Join Date: Jun 2007
Location: My Office, Dublin
Posts: 2,097
Nominated 2 Times in 1 Post
Nominated TOTW/F/M Award(s): 1
Forbairt will become famous soon enoughForbairt will become famous soon enoughForbairt will become famous soon enoughForbairt will become famous soon enoughForbairt will become famous soon enoughForbairt will become famous soon enoughForbairt will become famous soon enoughForbairt will become famous soon enoughForbairt will become famous soon enoughForbairt will become famous soon enoughForbairt will become famous soon enough
Send a message via AIM to Forbairt Send a message via MSN to Forbairt Send a message via Yahoo to Forbairt Send a message via Skype™ to Forbairt
Default

you'll want to edit your PATH to include a link to where you keep the tar program.

As you're making a shell_exec ... if it doesn't find tar it'll throw an error
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #9 (permalink)  
Old 28-08-2008, 11:35 AM
gav240z's Avatar
Wannabe Geek
 
Join Date: Dec 2007
Location: Rathmines, Dublin
Posts: 427
Nominated 0 Times in 0 Posts
TOTW/F/M Award(s): 0
gav240z is a jewel in the roughgav240z is a jewel in the roughgav240z is a jewel in the rough
Default Shell commands.

Sorry this isn't exactly on the topic of this thread. However anyone got a good guide to Shell Commands for Unix servers? I would really like to be able to upload zip files to my server via FTP and execute shell commands to unzip rather than upload each file singularly.

Also what do I need to check for in terms of hosting support for this feature?

I know this is a newbie question but I've never known any better.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #10 (permalink)  
Old 28-08-2008, 11:39 AM
Forbairt's Avatar
respect my AW-THOR-IT-AYY
Recent Blog: Free CSS book
 
Join Date: Jun 2007
Location: My Office, Dublin
Posts: 2,097
Nominated 2 Times in 1 Post
Nominated TOTW/F/M Award(s): 1
Forbairt will become famous soon enoughForbairt will become famous soon enoughForbairt will become famous soon enoughForbairt will become famous soon enoughForbairt will become famous soon enoughForbairt will become famous soon enoughForbairt will become famous soon enoughForbairt will become famous soon enoughForbairt will become famous soon enoughForbairt will become famous soon enoughForbairt will become famous soon enough
Send a message via AIM to Forbairt Send a message via MSN to Forbairt Send a message via Yahoo to Forbairt Send a message via Skype™ to Forbairt
Default

Personally I love vi for quick edits (config files and so on)

you'll want to ask them if you've got shell access with your account.
You'll also want to ask them if you can run

tar gunzip zip unzip chmod chown ...

a lot of hosts will only let you copy files around

You'll find however a lot of the filemanagers will let you upload zip / tar / gz files and will let you decompress them on the server.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Tags
support, tar, wamp

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads

Thread Thread Starter Forum Replies Last Post
Buy.at Support? blacknight Buy.at 9 11-06-2008 11:45 AM
What should I charge for support alex The Business Aspects of Web Work 7 07-02-2008 11:12 PM
Technical Support L1 blacknight Employment Available 4 14-12-2007 09:24 AM
Etiquette with support Forbairt Off topic discussion 8 03-11-2007 11:20 AM
support script ? kitna23 Webmaster Discussion 0 25-10-2006 05:45 PM


Sponsored links

Paid On Results


All times are GMT +1. The time now is 12:00 PM.