I'm new to working in the shell and can use the unrar command to extract a single archive but I'm looking to do a lot more then that. Let me explain.
Ex:
/ParentFolder/ChildFolder1/xyz.rar
/ParentFolder/ChildFolder2/abc.rar
/ParentFolder/ChildFolder3/rty.rar
/ParentFolder/ChildFolder4/wqe.rar
Each child folder has different names, each containing differently named archives. I would like to build a script that will extract the archives inside every child folder, and also renaming the extracted file to the same name as the folder.
BONUS: Each child folder has archives that are listed like
archivename.r01
archivename.r02
archivename.rar
If its possible to delete the entire archive structure after extraction that would be AMAZING.
Hopefully I explained this well enough. Thanks in advance!