I use conEmu to have som kind of linux terminal in windows.
In Windows I configured a variable to open files with sublime, and I can open files with:
I have a virtualMachine and I have the same code, in local and in the virtual host, but the paths are different:
D:\work (in win) /home/work/ (in the server)
If I do:
$ ssh firstname.lastname@example.org 'find . -type f -name example.txt'
But I can't use it to open with sublime:
subl $(ssh email@example.com 'find /home/work -type f -name example.txt') //doesn't work
So I need to have only the path from the starting point of /home/work, and have only
public/example.txt (or ./public/example)
And This is the question, how can I use
find to get the path from the starting point?