There’s a good query for this however I am unable to remark resulting from status.
I am utilizing MacOS Sonoma 14.1.1.
If I record my residence, I can see:
lrwx------ 1 [myuser] employees 88 Oct 11 2021 Google Drive -> /Customers/[myuser]/Library/Utility Help/Google/DriveFS/[long ID]/my-drive
The issue is that if I sort “cd Google Drive”, I get
cd: no such file or listing: Google Drive
But when I sort “cd /Customers/[myuser]/Library/Utility Help/Google/DriveFS/[long ID]/my-drive”, it is profitable.
I additionally checked Settings -> Privateness and Safety -> Information and Folders -> iTerm and Google Drive is switched on:
Once I sort “cd Goo” after which “tab”, autocomplete works, however cd nonetheless complains:
cd: no such file or listing: Google Drive
Any option to allow the symlink, and be capable of use it additionally in shell scripts?
Including this as requested:
% ls -la ~/Library/CloudStorage/
complete 32
drwxr-xr-x+ 7 [myuser] employees 224 Oct 6 2022 .
drwx------@ 112 [myuser] employees 3584 Oct 4 07:12 ..
-rw-r--r--@ 1 [myuser] employees 14340 Jan 16 19:10 .DS_Store
drwx------@ 81 [myuser] employees 2592 Nov 29 2022 Dropbox
dr-x------@ 8 [myuser] employees 256 Jun 5 2023 GoogleDrive-[myemail]
dr-x------ 3 [myuser] employees 96 Jan 20 2023 GoogleDrive-[myemail] (2-6-23 11:12 AM)
drwx------ 6 [myuser] employees 192 Nov 25 2022 GoogleDrive-[myemail] (20-1-23 3:11 PM)
btw the proposed reply labored, the next hyperlink works:
% ln -s /Customers/[myuser]/Library/CloudStorage/GoogleDrive-[myemail]/My Drive gdrive
however I nonetheless want to discover out why the opposite symlink does not!