Sponsored Content
Top Forums Shell Programming and Scripting unrar multiple files with password Post 302375275 by vampirex on Friday 27th of November 2009 06:22:22 AM
Old 11-27-2009
Even better:

Quote:
#!/bin/sh
PASS=pass
FILE=file
#
find -type f -name $FILE -exec unrar -p$PASS x {} \;

Last edited by vampirex; 11-27-2009 at 10:48 AM..
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

unrar on MPRAS (UNIX)

I am wanting to compile unrar on our MPRAS UNIX system. The currently available source (from www.rarlab.com) does not support this system and I am not sure how to configure the makefile to work. Has anyone been able to get this to work on MPRAS and can supply me with some direction? Thanks... (0 Replies)
Discussion started by: Mr C
0 Replies

2. UNIX for Dummies Questions & Answers

Unrar Multiple Files with Command

I work with multiple archive files, mostly rar. I understand the basics of rar and zip. I'm looking for a way to decompress multiple rar files with a single command. Hopefully each file would be unrared into dir with same name as archive. I normally just do this manually, but sometimes I'm... (2 Replies)
Discussion started by: dobbs
2 Replies

3. Shell Programming and Scripting

Simple unrar script

I am not a programer so I need a litle help here. On linux I have installed unrar. What I need is a script which will unrar all rar files in folders and subfolders and subfolders of subfolders, then check this files which are unpacked and then delete this rar files if check is ok. If someone can... (2 Replies)
Discussion started by: blisk
2 Replies

4. Solaris

unrar doesn't seem to install properly

Hi, I downloaded unrar from sun-freeware website (unrar-3.68-sol8-sparc-local.gz). After gunzip, I then did: install -c /usr/local unrar-3.68-sol8-sparc-local I'm not sure if that was right. Am I installing it correctly? Hope you can help as I need to open .rar files immediately. ... (4 Replies)
Discussion started by: daytripper1021
4 Replies

5. UNIX for Dummies Questions & Answers

Unzipping multiple password-protected files

I am trying to unzip ~150 files on a SUN server in Unix via a telnet program (PuTTy), so I am restricted (I believe) to single-line command functions. All of the files are password protected, and each one contains three files. Is there a way to automate the process? I have tried 7z, but that only... (0 Replies)
Discussion started by: Davman
0 Replies

6. UNIX for Dummies Questions & Answers

Using AWK: Extract data from multiple files and output to multiple new files

Hi, I'd like to process multiple files. For example: file1.txt file2.txt file3.txt Each file contains several lines of data. I want to extract a piece of data and output it to a new file. file1.txt ----> newfile1.txt file2.txt ----> newfile2.txt file3.txt ----> newfile3.txt Here is... (3 Replies)
Discussion started by: Liverpaul09
3 Replies

7. Shell Programming and Scripting

unrar - get the name of extracted file

If I have a script that is using unrar e file.part1.rar How does the script get the name of the extracted file if I don't know the extension of the file? In my example the name would be file.***, but I wouldn't know the extension. ---------- Post updated at 05:13 PM ---------- Previous... (0 Replies)
Discussion started by: locoroco
0 Replies

8. Shell Programming and Scripting

unrar files

Hi, I have two .rar files on unix server. but how to unrar these files ?? (6 Replies)
Discussion started by: milink
6 Replies

9. Fedora

Problem installing rar and unrar

Good day all, I am trying to install rar and unrar on fedora 16. In terminal root, when I try to do : # cp rar unrar /bin I get the following error message: cp: cannot stat `rar': No such file or directory cp: cannot stat `unrar': No such file or directory can anyone please... (7 Replies)
Discussion started by: peter_071
7 Replies

10. UNIX for Dummies Questions & Answers

How to install unrar?

I need to extract a ,rar file and getting the below error while using unrar e filename.rar error: ksh: unrar: not found. I guess I need to install unrar. please let me know how to install unrar. my os is - SunOS e08k24 5.10 Generic_141444-09 sun4u sparc SUNW,Sun-Fire-880 (1 Reply)
Discussion started by: lohithsunny
1 Replies
fimgs(1)						      General Commands Manual							  fimgs(1)

NAME
fimgs - poor man's [http://]PostScript/pdf/dvi/cbr/rar/cbz/zip viewer for the linux framebuffer console SYNOPSIS
fimgs [ options ] file DESCRIPTION
fimgs is a simple wrapper script which takes a PostScript or pdf or .cbr or .rar or .cbz or .zip or .dvi or any of the above prefixed with http:// as input, renders the pages using ghostscript into a temporarely directory and finally calls fbi to display them. In case of com- pressed archives (in zip or rar formats), the images are decompressed into a directory and displayed. In this latter case, only images contained in the archive will be displayed (no nested archives or pdf's or ps's or dvi's). OPTIONS
fimgs still does not understand all of fim's options (they are not passed through). so please use fimgs -h to get help on its options. You can use option -p <password> if your PDF file requires password. SEE ALSO
fim(1), gs(1), fbi(1), fbgs(1), bash(1) AUTHOR
Michele Martone <dezperado _ GUESS _ autistici.org>. (c) 2007-2009 Michele Martone fimgs(1)
All times are GMT -4. The time now is 04:53 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy