{"action":"created","issue":{"url":"https://api.github.com/repos/arfoll/unrarall/issues/18","labels_url":"https://api.github.com/repos/arfoll/unrarall/issues/18/labels{/name}","comments_url":"https://api.github.com/repos/arfoll/unrarall/issues/18/comments","events_url":"https://api.github.com/repos/arfoll/unrarall/issues/18/events","html_url":"https://github.com/arfoll/unrarall/issues/18","id":49820877,"number":18,"title":"'no rar files extracted' error","user":{"login":"mkendrick","id":388793,"avatar_url":"https://avatars.githubusercontent.com/u/388793?v=3","gravatar_id":"","url":"https://api.github.com/users/mkendrick","html_url":"https://github.com/mkendrick","followers_url":"https://api.github.com/users/mkendrick/followers","following_url":"https://api.github.com/users/mkendrick/following{/other_user}","gists_url":"https://api.github.com/users/mkendrick/gists{/gist_id}","starred_url":"https://api.github.com/users/mkendrick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mkendrick/subscriptions","organizations_url":"https://api.github.com/users/mkendrick/orgs","repos_url":"https://api.github.com/users/mkendrick/repos","events_url":"https://api.github.com/users/mkendrick/events{/privacy}","received_events_url":"https://api.github.com/users/mkendrick/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":19,"created_at":"2014-11-23T10:25:10Z","updated_at":"2015-07-27T17:07:47Z","closed_at":null,"body":"Hi. Found your script and have been attempting to get it to work on a FreeBSD-based NAS (FreeNAS).\r\n\r\nHaving some trouble, the script doesn't seem to find any rar files. Sample output:\r\n\r\n[root@freenas] /mnt/vol1/tv/show# /mnt/vol1/backup/unrarall -d -v -s --clean=all /mnt/vol1/tv/show/test\r\nDetecting clean up hooks...\r\nFound unrarall-clean-covers_folders\r\nFound unrarall-clean-empty_folders\r\nFound unrarall-clean-nfo\r\nFound unrarall-clean-osx_junk\r\nFound unrarall-clean-rar\r\nFound unrarall-clean-sample_folders\r\nFound unrarall-clean-sample_videos\r\nFound unrarall-clean-windows_junk\r\nUsing virtual clean-up hook all\r\nUsing \"echo\" to extract rar files\r\nWorking over directory \"/mnt/vol1/tv/show/test\"\r\nno rar files extracted\r\n\r\nThere are, of course, many subfolders in my 'test' dir, all of which contain multi-part rar archives:\r\n\r\n[root@freenas /mnt/vol1/tv/show/test/show.S07E13.HDTV.XviD]# ls\r\nshow.s07e13.hdtv.xvid.r03\r\nshow.s07e13.hdtv.xvid.r08\r\nshow.s07e13.hdtv.xvid.r13\r\nshow.s07e13.hdtv.xvid.nfo\r\nshow.s07e13.hdtv.xvid.r04 \r\nshow.s07e13.hdtv.xvid.r09 \r\nshow.s07e13.hdtv.xvid.r14\r\nshow.s07e13.hdtv.xvid.rar \r\n... etc  (yes, it's a complete rar set.)\r\n\r\n\r\nGrateful any assistance.  The default shell for FreeNAS is csh, however I get the same result when I run bash and then run the script.  Note that if I run without the -d switch, I get the same end result, however it does report that it's found the unrar executable:\r\n\r\n[root@freenas] /mnt/vol1/tv/show# /mnt/vol1/backup/unrarall -v -s --clean=all /mnt/vol1/tv/show/test\r\nDetecting clean up hooks...\r\nFound unrarall-clean-covers_folders\r\nFound unrarall-clean-empty_folders\r\nFound unrarall-clean-nfo\r\nFound unrarall-clean-osx_junk\r\nFound unrarall-clean-rar\r\nFound unrarall-clean-sample_folders\r\nFound unrarall-clean-sample_videos\r\nFound unrarall-clean-windows_junk\r\nUsing virtual clean-up hook all\r\nLooking for unrar...found\r\nUsing \"unrar\" to extract rar files\r\nWorking over directory \"/mnt/vol1/tv/show/test\"\r\nno rar files extracted\r\n\r\nother miscellanea:\r\nUNRAR 4.20 freeware      Copyright (c) 1993-2012 Alexander Roshal\r\nunrarall script version 0.4.2\r\n"},"comment":{"url":"https://api.github.com/repos/arfoll/unrarall/issues/comments/125274027","html_url":"https://github.com/arfoll/unrarall/issues/18#issuecomment-125274027","issue_url":"https://api.github.com/repos/arfoll/unrarall/issues/18","id":125274027,"user":{"login":"Roedy86","id":9380950,"avatar_url":"https://avatars.githubusercontent.com/u/9380950?v=3","gravatar_id":"","url":"https://api.github.com/users/Roedy86","html_url":"https://github.com/Roedy86","followers_url":"https://api.github.com/users/Roedy86/followers","following_url":"https://api.github.com/users/Roedy86/following{/other_user}","gists_url":"https://api.github.com/users/Roedy86/gists{/gist_id}","starred_url":"https://api.github.com/users/Roedy86/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Roedy86/subscriptions","organizations_url":"https://api.github.com/users/Roedy86/orgs","repos_url":"https://api.github.com/users/Roedy86/repos","events_url":"https://api.github.com/users/Roedy86/events{/privacy}","received_events_url":"https://api.github.com/users/Roedy86/received_events","type":"User","site_admin":false},"created_at":"2015-07-27T17:07:47Z","updated_at":"2015-07-27T17:07:47Z","body":"Hi, i had the same issue as mentioned above. (Freebsd 10.0 amd64)\r\nI edited the file as described. added a -E after find and removed all backslashes in except the first in all find commands."}}