I would expect errors to get thrown up along the way as the script runs through. Do you spot any such error messages? Maybe they look harmless and so you're missing them. If you'd like to dump the output in your next post I can take a look.
Re your files not being linked. The script creates links to folders, not files, and so if the folders are being linked but you can't see the files in them then this could be down to a permission problem. Maybe you could send me the output of the ls -l command for the contents of those folders and I might spot something odd.
With regards links being created in both the source and dest folders, this indicates something has gone wrong with the script and an error should get thrown up. The way the script works is as follows: It cd's into the dest folder and then issues the link command "ln -s name_and_location_of_original_folder_or_file new_name". If the link is created in the source folder then the change directory command is failing.
If you edit the script and add pwd after the line which reads cd "$_DFolder" which is line 41 in my original script then you'll see what folder the script is in as it creates the links. Perhaps also remove the # from the start of line 67 (which reads # echo Linking \""$(basename "$file")"\" to \""$file"\") then you'll see exactly what command is being issued to create the symlink.
Let me know how you get on.
![Thumbup :thumbup:](./images/smilies/icon_thumbup.gif)
Ian.