PDA

View Full Version : [How to] rar and UnRAR a folder on server



DaHiA
12-16-2006, 05:24 AM
i have a bulky folder on server and i'd like to RAR or UnRAR it while its still on server
any idea about a similar SSH command [like the "tar/UnTAR" one] works to RAR

i contacted the support and they could not help except for "tar" format only
any idea?

aceofspades
12-16-2006, 06:49 AM
i have a bulky folder on server and i'd like to RAR or UnRAR it while its still on server
any idea about a similar SSH command [like the "tar/UnTAR" one] works to RAR

i contacted the support and they could not help except for "tar" format only
any idea?
Yes in cpanel they have an unZIP or unTAR function. You can also do it yourself by using one of the MANY PHP Compression library. Check out the PHP classes at phpclasses.org (or is it .com?). They have a really good RAR compression class.

http://www.phpclasses.org/browse/package/3556.html

It should be pretty self-explanatory if you know PHP. If you don't I'll help you out and write a few lines of code for you to use it. Boy do i love OOP.

They also have .tgz (which is better than zip), .gz, .zip, and others.

indy2kro
12-17-2006, 09:10 AM
I'd recommend using a ZIP file (or tar) and use the File Manager from CPanel to unzip/untar, works just fine.