Shell script to read files and perform diff functions

Hi,

I wanted to extract files to read pdf files, they were around 100. So i tried to write a script to do the same.

while read line ; do unrar e “$line” ; done < myfile.txt

this will extract all the files in the same directory.

If you like my blog, do check my new blog at blog.aganith.com

Advertisement

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s


Follow

Get every new post delivered to your Inbox.