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

Clobbering files on extraction and skipping already extracted files #37

Closed delcypher closed 6 years ago

delcypher commented 7 years ago

PRs #34 and #30 both try to make unrarall avoid extracting already extracted files.

Issue #31 reported problems where unrarall would clobber existing rar files upon extraction.

These problems are not independent of each and so they should be tackled together.

Ideally we

The solution to these problems would probably involve examining the archive contents before extracting, always doing extraction in a temporary folder and have a sensible scheme for handling clobbering that emits a warning and tries to carry on by writing the conflicting files somewhere else.

I don't have time to work on this but if anyone wants to tackle this task that would be great.

arfoll commented 6 years ago

Done & merged