I put a python script to my /usr/local/bin
to use as a command in bash.
I want to use my bash working directory, but I only get the current directory where the script is executed.
Is there a way to use the current directory as a command does? E.g. with convert2ogg (as python script in /usr/local/bin)
$ cd ~/Music
$ convert2ogg *.mp3