title: In Perforce on Unix, how do you add a directory that is a symbolic link?
body: <p>I have created a symbolic link directory in Unix and I would like to add it to perforce.</p>
  
  <p>(this question relates to symlinks on Unix. <a href="http://en.wikipedia.org/wiki/Symbolic_link" rel="noreferrer">Windows symbolic links can have very different behaviour from Unix.)</a></p>
  
  <ul>
  <li>../blah/dir1 is the source directory, which contains files that are already in Perforce</li>
  <li>dir2 is the symlink to the source directory that I want to check in</li>
  </ul>
  
  <pre>
  ln -s ../blah/dir1 dir2
  </pre>
  
  <p>If I right-click on "dir2" in the p4v GUI, it will add every file under ../blah/dir1 as a new file (even if these files are already in Perforce) and fubar everything.</p>
  
  <p>If I do a "p4 add dir2" from the command line, it will add every file under ../blah/dir1 as a new file (even if these files are already in Perforce) and fubar everything.</p>
  
  <p>What is the correct syntax?</p>