Skip to content
WJunction - Webmaster Forum

[req] how to unrar files in linux ?

Status
Not open for further replies.
Hello. I have a problem with unrar tvshows releases... some archives use .r0* names, some use part0* ... how to right unrar this files using bash and unrar on linux ?

thank you...
 

9 comments

there is most be a file (main file) that will end with .rar extension.

simply just unrar that and it should be fine.

Code:
unrar filename.rar

Highest Regards
Mohammed H
 
filename.part01.rar
filename.part02.rar
filename.part03.rar
filename.part04.rar

unrar filename.rar - this method not work...
 
So what you basically want is to unrar files from a dir

Open the dir, you can use any method including opendir

Check if the filename's extension ends with .rar

If it ends then unrar the file :s
 
Status
Not open for further replies.

About the author

H
Active Member · Joined
94
Messages
2
Reactions
8
Points
Grow your business

Advertise on WJunction

Connect with an established international community of webmasters, hosting providers, developers and online entrepreneurs.

  • Premium & Premium+ Sticky
  • Dedicated section banners
  • Site-wide banner advertising
Explore advertising options
Back
Top Bottom