Results 1 to 3 of 3

Thread: [How to] rar and UnRAR a folder on server

  1. #1
    Join Date
    Feb 2006
    Posts
    116

    Arrow [How to] rar and UnRAR a folder on server

    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?

  2. #2
    Join Date
    May 2006
    Location
    Florida
    Posts
    491

    Default

    Quote Originally Posted by DaHiA
    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.
    Last edited by aceofspades; 12-16-2006 at 05:57 AM.
    Hanged up my userbar

  3. #3

    Default

    I'd recommend using a ZIP file (or tar) and use the File Manager from CPanel to unzip/untar, works just fine.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •