title: Linux: How to delete the original file if the shortcut/link is deleted
body: <p>I believe the question is self explanatory so I am gonna make more efficient use of the body section by sharing with you why I asked the question in the first place to  get a better solution than the one I am trying to achieve and get two for one.
  Basically I am trying to sync two local directories bi-directionally that respects a kind of .gitignore logic i.e. they are gonna ignore particular files and directories. Better yet, I would love something along the line of whitelisting!
  I am familiar with tools like rsync and unison that get the syncing part done but not the ignoring/whitelisting.</p>