Announcement

Collapse
No announcement yet.

Unrar Multiple Files With The Same Password In Linux

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Unrar Multiple Files With The Same Password In Linux

    Hi friends,

    I small tutorial i would link to share...........

    create a bash file and put this inside it:


    Code:
    #!/bin/sh
    #
    # unrar/unzip/join all files in directory
    
    for f in *.rar;do unrar -p<password> e $f;done
    #for f in *.zip;do unzip -P <password> $f;done
    #for f in *.001;do lxsplit -j $f;done
    Uncomment the command you want and run it in the folder the rars are in.
    In the place of <password> put the password (without the <>).
    Careful that unrar takes -p and password WITHOUT SPACE BETWEEN THEM. While unzip with space. Hope fits your needs.
    Don't Forget To Say Thanks
    Don't Let The Post DIE ... REPLY !!
Working...
X