Skip to content

How to detect folder path i ran script for?

the below script is to unzip zip file and rename extaracted subtitles names according to tv show episodes names. and then convert them to utf-8. here is the problem: I want to run this script in a linux os and inside any tv show folder i want.but I want the path in fixing function to be detected from the fold…