arfoll / unrarall

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

Extracting files into a path named after the file #53

Open nihelmasell opened 4 years ago

nihelmasell commented 4 years ago

Hi, I am having the following issue. I have a bunch of "rared" DVD files, with the classical VIDEO_TS and AUDIO_TS subdirectories. The DVDs are not inside a parent folder, so when unraring a lot of them I get only two folders and VTS_01_1.VOB.1 VTS_02_1.VOB.1 VTS_01_1.VOB.2 VTS_01_2.VOB.2 and so on... This makes the files unreadable by a player or transcoding software, and you can't even easily determine from which DVD the files came. Is there a way to create an ad-hoc directory for each decompressed file? The full-path option obviously doesn't work, as the rar files have no parent folder, e.g. VIDEO_TS and AUDIO_TS are at the root level instead of "GODFATHER/VIDEO_TS" and "GODFATHER/AUDIO_TS", which would remain problem-free. Thanks in advance.