Jump to content
jeet

Delete file with keyword "Delete <filename>"

Recommended Posts

It will be great if we could delete a file by simply saying "delete <filename>". I searched everywhere but there is no such workflow in alfred, launchbar or quicksilver.

I know there is an operations menu which we can access by option+command+\ but thats a cumbersome process. as a CLI fan i like typing a command and be done with it. 

 

"delete <filename>" can suggest multiple files if they start with same name. then with up/down arrow key we can select the file. this will fill the text box with the filename which we intend to delete like "delete text.Docx" . simply press enter and move it to trash.

 

 

 

Share this post


Link to post
Share on other sites

With regard to files, Alfred's standard mode of operation is to first find the file (or files), and then select the action.

 

This has the distinct advantage of working with all File Filters and workflows, making it much faster to find the file you're after.

 

To these ends, it's trivial to create a workflow with a "Delete" or "Trash" File Action.

 

You can then hit right arrow (the default key) on any Alfred result of type "file", to perform your Delete/Trash action.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...