environment variables in Mac script or Terminal
I wrote a simple script to delete a shortcut off the desktop of the logged in user, but no commands work! I can't do anything as simple as 'unlink ~/Desktop/<filename>' , unlink '/Users/$USER/Desktop/<filename> , unlink $HOME/Desktop/<filename>'....even cd commands to those locations don't work . None of those paths are recognized either in a script or in the Terminal interface in Atera. Script version won't work running as System, and if run as Current User I get a "user is not logged in" error
Nice! The feature you requested is being reviewed by our product team. We’ll keep an eye on the number of votes, and let you know if a decision is reached to implement. Thank you for being a partner in our process!