Jump to content

Delete last "n" numbers of files from download folders


Recommended Posts

HI

I have built this workflow and need to configure it so that it asks me as to how many of last files I want to delete. Right now its deleting all of the download folder. 

 

Any sincere help is appreciated. I am fairly new to this Alfred scene and just want suggestions for this. Having hard time to create a filter which asks me about the number of files that I need to delete.

 

Thanks!!

Screenshot 2022-09-07 at 6.17.05 PM.png

Link to comment

Good pivot. Understanding this simpler task will help with building the other one. Though in the future, please always upload your workflow somewhere when asking for help (transfer.sh is good temporary hosting) so we can download and iterate on what you have already built instead of having to recreate it.


Here is the functional Workflow, annotated. It uses the Arg and Vars Utility and uses a variable, as linked in the other thread.

Link to comment

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...