'Attempt to link ``path``'

def link_file(self, path, prefixed_path, source_storage, **options):

    if (prefixed_path in self.symlinked_files):
        return self.log((u"Skipping    '%s'    (already    linked    earlier)" % path))
    if (not self.delete_file(path, prefixed_path, source_storage, **options)):
        return
    source_path = source_storage.path(path)
    if options['dry_run']:
        self.log((u"Pretending    to    link    '%s'" % source_path), level=1)
    else:
        self.log((u"Linking    '%s'" % source_path), level=1)
        full_path = self.storage.path(prefixed_path)
        try:
            os.makedirs(os.path.dirname(full_path))
        except OSError:
            pass
        os.symlink(source_path, full_path)
    if (prefixed_path not in self.symlinked_files):
        self.symlinked_files.append(prefixed_path)
