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

extraction fails if source folder name has spaces #38

Closed marc-aurel closed 7 years ago

marc-aurel commented 7 years ago

If the folder where the rar-files lie has a name containing spaces extraction fails with error:

cd /test/Rhap\ sodies/ unrarall -v --full-path --clean=rar .

      Cannot open /test/Rhap.rar
      File or folder not found
      No files to extract

unrar x <filename>.part1.rar in same folder works flawlessly

delcypher commented 7 years ago

@marc-aurel Thanks for reporting. I've confirmed this. I've written a test case and a fix in #39. I'm waiting for the build to succeed. If it does then I'll merge it.

marc-aurel commented 7 years ago

thanks for the fast reaction. same problem occurs if filenames of archives have spaces

delcypher commented 7 years ago

@marc-aurel Is that with #39 ? I added test cases for this in f92b8b89604fcad8c0b75e101f328f3e74cf84e4 and everything works fine.

delcypher commented 7 years ago

@marc-aurel #39 is now merged into master. Can you confirm if you're still having problems with unrarall on the master branch?

marc-aurel commented 7 years ago

I can confirm that it works now with file and folder names that have special characters like spaces and brackets. Fantastic! Thanks a lot.