The first quick test of the script gave this error:
org-babel-tangle.py dotfiles.txt master Traceback (most recent call last): File "/Users/heikki/bin/org-babel-tangle.py", line 82, in <module> dest = match_begin(line) File "/Users/heikki/bin/org-babel-tangle.py", line 38, in match_begin fo = open(dest, 'w') FileNotFoundError: [Errno 2] No such file or directory: '/Users/heikki/Dropbox/dotfiles/~/.config/fish/config.fish'
The legal '~' is not recognised and pwd added to the path.
I just pushed a commit that should fix your issue. It won't automatically create target directories (I don't know if Org does), but will correctly handle ~ in paths.
The first quick test of the script gave this error:
org-babel-tangle.py dotfiles.txt master Traceback (most recent call last): File "/Users/heikki/bin/org-babel-tangle.py", line 82, in <module> dest = match_begin(line) File "/Users/heikki/bin/org-babel-tangle.py", line 38, in match_begin fo = open(dest, 'w') FileNotFoundError: [Errno 2] No such file or directory: '/Users/heikki/Dropbox/dotfiles/~/.config/fish/config.fish'
The legal '~' is not recognised and pwd added to the path.