I wrote a python script to synchronize two folders given as input. I use it to synchronize folders between my phone and a laptop, but, thanks to buggy
os.path.abspath, it works correctly only when I give absolute pathnames of the folders to it.
My question is: will the mount point of my phone be same every time I plug it in? If so, I could store its path as a shell variable. If not, can you suggest a way I could avoid typing/copy-pasting a long pathname every time I use this script?