orbofdarkness
Active Member
Hi Everyone,
The following is the script which unrar the files :
If I am using the sript its extracting the same files into different folders. Also here is a screenshot :-
But I want A Script That Will Give Me An Output Like The Following Screenshot.
I'm a new user in Ubuntu 9.04 & need a bash script which would delete all the rar files after extraction.
Thanks. TC. Peace Out.
Orb.
The following is the script which unrar the files :
for x in *.rar; do mkdir "${x%.rar}" && cd "${x%.rar}" && unrar x "../$x" && cd ..; done
If I am using the sript its extracting the same files into different folders. Also here is a screenshot :-
But I want A Script That Will Give Me An Output Like The Following Screenshot.
I'm a new user in Ubuntu 9.04 & need a bash script which would delete all the rar files after extraction.
Thanks. TC. Peace Out.
Orb.