Jump to content

Delete file with keyword "Delete <filename>"


jeet

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.

 

 

 

Link to comment
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.

Link to comment
Share on other sites

  • 5 years later...

This is one of most useful Alfred workflow; the one I daily use. Sadly, when I tried to download this today (had to reinstall Mojave), the hosting site said "it has reached its view limit". Is there anyway I can get this workflow, please?

I'd highly appreciate it.

Screen Shot 2021-05-13 at 1.17.24 PM.png

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...