You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been using plumbum paths in a script i'm writing lately. My script uses local.cwd to find out the name of the current directory, then uses that to navigate to a path on a remote PC.
Unfortunately the script doesn't work at all when the local machine is windows, the remote is linux and the current directory name is not all lowercase. This seems to be because plumbum throws away case information from paths on windows.
If I then try to use local.cwd.basename to navigate to the equivalent folder on my remote PC it will fail as the folder is actually named NVR rather than nvr.
The text was updated successfully, but these errors were encountered:
I've been using plumbum paths in a script i'm writing lately. My script uses local.cwd to find out the name of the current directory, then uses that to navigate to a path on a remote PC.
Unfortunately the script doesn't work at all when the local machine is windows, the remote is linux and the current directory name is not all lowercase. This seems to be because plumbum throws away case information from paths on windows.
For example:
If I then try to use local.cwd.basename to navigate to the equivalent folder on my remote PC it will fail as the folder is actually named
NVR
rather thannvr
.The text was updated successfully, but these errors were encountered: