I am accessing a remote directory like this:
Accessing it, is not an issue. Through the file manager I copy paste the path, press Enter, insert user and password and, eventually, I can see the content of the directory. That is fine, if I want to browse its content.
But, if I need to access this directory through the shell (suppose to Open a Terminal Here, from the file manager) to launch some scripts, I fall into an overcomplicated series of subdirectories and my path looks like this:
which is kind of impossible to manage, if I have to perform some operations over filenames and paths (which is exactly what I need to to).
A few experiments I performed:
I noticed that if I have a virtualbox installed, that has a shared directory pointing to the directory of interest:
in the virtualised Ubuntu, the mount point is nice and clean:
and I can simply run the scripts and everything goes fine. But I need to run the scripts without the need of a virtualbox since it makes everything slow.
I also tried:
mkdir /media/short/ mount -t cifs -o rw,guest,vers=1.0,noperm,sec=none smb://serv.erNa.me/storage/directory/ /media/short/
but that gives an error:
mounting cifs URL not implemented yet. Attempt to mount smb://serv.erNa.me/storage/directory/
Why is that? How can virtualbox use a very clean and readable mounting point while, if I want to access the same directory from my system I need to go through the horrible path shown above?
Is there a way I can set something more user-friendly?