Find the answer to your Linux question:
Results 1 to 3 of 3
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    Rar command line

    Hiya command line commandos.

    I have a command line question. Recently I uploaded a bunch of files to my server and have a password protected area on the website for friends/co-workers to access files. What I need is a command that will take folders in say /var/www/general_stuff/[directory] and turn the directory into a rar file inside /general_stuff/
    so the users don't have to click each individual file to download the whole directory.

    Now it would be super-helpful if there was a command that would do all the directories at once and separate them into their corresponding directories. However if thats not possible then the other way would be just as awesome.

    Any help would be GREATLY appreciated (plus many internets to you, good sirs!)

  2. #2

  3. #3
    Linux Guru coopstah13's Avatar
    Join Date
    Nov 2007
    NH, USA
    The man page is pretty much self explanatory, that is provided that your server has rar installed on it.
    man rar

  4. $spacer_open

Posting Permissions

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