Open FrailDust opened 2 years ago
Have you given execute permission to the file? chmod +x subedit.sh
I've done "chmod +x bash /mnt/c/Users/timot/Downloads/subedit-master/subedit.sh" and no change.
I've done "chmod +x bash /mnt/c/Users/timot/Downloads/subedit-master/subedit.sh" and no change.
Try chmod +x /mnt/c/Users/timot/Downloads/subedit-master/subedit.sh ?
Also, do you have permission to read/write to this dir?
subedit only works on paths that do not contain the character ‘/’. So it must be run from the directory containing a file with the file name as argument, without any upper directory.
This is the effect of the grep -v /
on line 5894, a few lines above the ’No file found’ error:
https://github.com/helixarch/subedit/blob/74e11816d7b4813064a2434a5abc0f78f66c0e53/subedit#L5893-L5902
I have no idea why that would be needed.
On ubuntu app on windows 10. I try to run "bash /mnt/c/Users/timot/Downloads/subedit-master/subedit.sh -i /mnt/c/Users/timot/sub/Naruto.srt" but it says "Error: No file found." I dont know if maybe I'm somehow inputting the directory incorrectly. "bash /mnt/c/Users/timot/Downloads/subedit-master/subedit.sh -d /mnt/c/Users/timot/sub" seems to work though.