arfoll / unrarall

bash script to unrar everything and cleanup in a given directory
GNU General Public License v3.0
261 stars 68 forks source link

Unnrar from subfolders and rename extracted file to parent folder name #55

Closed SpeedyLR closed 2 years ago

SpeedyLR commented 4 years ago

Hello,

A very useful script, thank you so much!

But is it possible, if a file is extracted in a subdirectory, to rename it to the name of the subdirectory?

Thanks

arfoll commented 2 years ago

Unless you have a good idea how to achieve this, I would avoid doing so as there are often more than one files in an archive, it gets quite complicated to 'guess' what the content of the archive is