alfred-copy-names

Alfred workflow to copy just the file and/or folder names to your clipboard

Usage no npm install needed!

<script type="module">
  import alfredCopyNames from 'https://cdn.skypack.dev/alfred-copy-names';
</script>

README

alfred-copy-names

Alfred workflow to copy just the file and/or folder names to your clipboard

Alfred itself provides a file action to copy the file and folder paths.

However, it does not provide an action to copy just the file and folder names.

This workflow provides this in a few variants.

  • Copy File Names
  • Copy File Names (no extension)
  • Copy Folder Names
  • Copy all Names
  • Copy all Names (no file extension)

Install

npm install --global alfred-copy-names

Requires Node.js 14+ and the Alfred Powerpack.

Usage

  1. Select a folder in the macOS Finder and then activate the Alfred File Browser.
  2. For me this is setup to be CommandCommand.
  3. Then you can enter Copy Names… and press Enter.
  4. You will be presented with three options:
    1. Copy File Names
    2. Copy Folder Names
    3. Copy File and Folder Names
  5. You can filter the options by adding !file or !folder or !fil ext at the end of the Alfred input field.
  6. Choose the one you want and hit Enter and the names will be copied to your clipboard.

Related