Peterson50
asked on
Multiple Share Names for folder OSX Server Lion
Running OSX Lion with Server and it works fine. Is there a way for a share to have multiple share names, such as Windows Server which allows you to have multiple share names for same folder. We have a dedicated itunes folder, which would be a pain if we had to rename it to the name that the itunes on multiple computers are looking for. Trying to avoid having to do a consolidation to the new network location when if we can just change the share name that would work also.
sudo dscl . -create SharePoints/iTunesMedia
sudo dscl . -create SharePoints/imagesdrawings afp_guestaccess 1
sudo dscl . -create SharePoints/imagesdrawings afp_name iTunesMedia
sudo dscl . -create SharePoints/imagesdrawings afp_shared 1
sudo dscl . -create SharePoints/imagesdrawings DIR_path /Library/iTunes/media
sudo dscl . -create SharePoints/imagesdrawings ftp_name iTunesMedia
sudo dscl . -create SharePoints/imagesdrawings smb_createmask 644
sudo dscl . -create SharePoints/imagesdrawings smb_DIRmask 755
sudo dscl . -create SharePoints/imagesdrawings smb_guestaccess 1
sudo dscl . -create SharePoints/imagesdrawings smb_name iTunesMedia
sudo dscl . -create SharePoints/imagesdrawings smb_shared 1
Just use this code in the terminal. Everything that's placed in bolt, you need to change to a different name.
For your other question? iTunes won't see it. You need to configure it to use the Network share. If you want to re-use the local folder, you need to change it again.
sudo dscl . -create SharePoints/imagesdrawings
sudo dscl . -create SharePoints/imagesdrawings
sudo dscl . -create SharePoints/imagesdrawings
sudo dscl . -create SharePoints/imagesdrawings
sudo dscl . -create SharePoints/imagesdrawings
sudo dscl . -create SharePoints/imagesdrawings
sudo dscl . -create SharePoints/imagesdrawings
sudo dscl . -create SharePoints/imagesdrawings
sudo dscl . -create SharePoints/imagesdrawings
sudo dscl . -create SharePoints/imagesdrawings
Just use this code in the terminal. Everything that's placed in bolt, you need to change to a different name.
For your other question? iTunes won't see it. You need to configure it to use the Network share. If you want to re-use the local folder, you need to change it again.
ASKER
Just do I understand this, the third line is give a sharepoint location named imagesdrawing with sharing name of itunesmedia
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
the afp_name or ftp_name or smb_name is its alias or alternate share name?
Thanks
Thanks
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER