code: def unlink(client, name, include, exclude, yes):
      
      dataset = client.load_dataset(name=name)
      records = _filter(
          client, names=[dataset.name], include=include, exclude=exclude
      )
  
      if not yes and records:
          prompt_text = (
              'You are about to remove '
              'following from "{0}" dataset.\n'.format(dataset.name) +
              '\n'.join([str(record.full_path)
                         for record in records]) + '\nDo you wish to continue?'
          )
          click.confirm(WARNING + prompt_text, abort=True)
  
      if records:
          for item in records:
              dataset.unlink_file(item.path)
  
          dataset.to_yaml()
          click.secho('OK', fg='green')
docs: Remove matching files from a dataset.