I did research beforehand on google How to Sync Any Folder to the Cloud With Symbolic Links and on Ask Different, but I still cannot find an answer to this specific question.
The file I want to symlink to is in the following format:
/Users/Name/OneDrive\ -\ X\ Y\ Education/Documents/Z\ Documents
Z\ Documents
is the name of a subfolder of (~/Documents
)
I tried rewriting it in different ways for it to be without any spaces as symlink requires there to be like that, but had no luck. I am quite inexperienced in this, but I was thinking maybe you can do something like quotation marks for Terminal to consider it one 'term'?
If something in this question is unclear, please leave a comment and I will do my best to clarify. Any possible answers are appreciated. Thank you.
IMPORTANT EDIT
Thank you for your help and effort. I made a mistake in my question with the directories, but I think it is a bit too big to correct, so I am going to rewrite it here if it's alright.
Here the directory that I want to link to:
/Users/NAME/OneDrive\ -\ PATH\ TO\ TARGET/Documents/X\ Documents
The first part is the location of the folder on my drive. The second part (after the first space) where is states 'PATH TO TARGET" is some part of the directory which is required to connect to the server or something like that. 'Documents' is a subfolder of OneDrive and 'X\ Documents' is a subfolder of 'Documents'.
I have listed the 'source' ONLY above. The target I would like to be found in folder in my defaults downloads location:
~/Downloads/X Documents
What I would like to happen, is when I open the folder X Documents, I am redirected to the source directory I described earlier (X Documents within Documents within OneDrive)
Thank you again for your time helping me out with this.