Thanks for considering to help.
I am attempting to create a simple shell script that once ran will look at all the directories of a folder that are typically in uppercase form and will create a symlink to that directory in lowercase form. Then i will execute this script on a regular basis as new folders are added to the directory to create additional symlinks to the new folders. The script has to be aware of other folders that have already had a symlink created for it so as not to create any stop issues or errors. Below is a visualization of what i am attempting to achieve.
drwxr-xr-x 2 root root 4096 Jun 18 03:52 Holmes
drwxr-xr-x 2 root root 4096 Jun 18 03:52 Kingship
-rwxrwxrwx 1 root root 85 Jun 18 04:39 link.sh
drwxr-xr-x 2 root root 4096 Jun 18 03:52 Lost
drwxr-xr-x 2 root root 4096 Jun 18 03:52 Monkey
drwxr-xr-x 2 root root 4096 Jun 18 03:52 Space Ship
drwxr-xr-x 2 root root 4096 Jun 18 03:52 Test
to
lrwxrwxrwx 1 root root 6 Jun 18 04:49 holmes -> Holmes
drwxr-xr-x 2 root root 4096 Jun 18 03:52 Holmes
lrwxrwxrwx 1 root root 8 Jun 18 04:49 kingship -> Kingship
drwxr-xr-x 2 root root 4096 Jun 18 03:52 Kingship
-rwxrwxrwx 1 root root 85 Jun 18 04:39 link.sh
lrwxrwxrwx 1 root root 4 Jun 18 04:49 lost -> Lost
drwxr-xr-x 2 root root 4096 Jun 18 03:52 Lost
lrwxrwxrwx 1 root root 6 Jun 18 04:49 monkey -> Monkey
drwxr-xr-x 2 root root 4096 Jun 18 03:52 Monkey
lrwxrwxrwx 1 root root 10 Jun 18 04:49 space ship -> Space Ship
drwxr-xr-x 2 root root 4096 Jun 18 03:52 Space Ship
lrwxrwxrwx 1 root root 4 Jun 18 04:49 test -> Test
drwxr-xr-x 2 root root 4096 Jun 18 03:52 Test
Obviously the script must be capable of creating new symlinks for folders that are created later but don't yet have a symlink for them.
I've been tinkering with the syntax from these other two posts/answers and am not really getting anywhere other then recreating the results of the individual answers. Posts are here Using find on subdirectories and create symlinks to all files and Bash script to automatically create symlinks to subdirectories in a tree
Perhaps i am going about my solution with the wrong approach. What i am actually trying to achieve is the fact that this is a NAS system that has folders automatically created based on users names. The folders are then automatically shared via the samba homes share. However the shares are not accessible unless a lowercase folder is created since the folders are originally created using spaces and as well using the case structure of the username. The structure of the username isn't totally compatible with a unix system since Test and test on a unix system are two different things. I've researched how to allow usernames to be created using uppercase however making those changes doesn't effect how the samba shares recognize the folders.