[kanchilug] 1D1C - rar

  • From: Dhana Sekar <tkdhanasekar@xxxxxxxxx>
  • To: ILUG-C <ilugc@xxxxxxxxxxxxx>, kanchilug@xxxxxxxxxxxxx
  • Date: Fri, 13 Sep 2013 20:58:04 +0530

command: rar
usage: archive files with compression

syntax: $ rar <command> [-<switch 1> -<switch N>] archive [files...]

examples:

1. To print help and options of this command

    $ rar --help

2. To rar a single file

    $ rar a dmesg.rar /var/log/dmesg

3. To rar multiple files

    $ rar a var-log-account.rar /var/log/account/*

4. To delete a file from a archive file

    $ rar d sample.rar

5. To recover or fix a archive file

    $ rar r sample.rar

6. To update or add files to existing archive file

    $ rar u sample.rar more.pdf

7.  To password protect archive file

    $ rar a -p sample.rar

8. To extract files with full path

    $ rar x sample.rar

9. To lock a particular archive file from extracting it

    $ rar k sample.rar


regards,
dhanasekar
Kanchilug Blog : http://kanchilug.wordpress.com

To subscribe/unsubscribe kanchilug mailing list : 
http://kanchilug.wordpress.com/join-mailing-list/

Other related posts:

  • » [kanchilug] 1D1C - rar - Dhana Sekar