I have 2 directories on Mac OS, one is the original directory and the other is an alias of the original directory.
I want to list the contents of the aliased directory using shell script.
I used the cd command to switch to the aliased directory, but it fails displaying 'directory not found'

Can someone please help me out?

Here's the bad news (search for "Symlinks")

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.