Pa7trickStar Posted November 16, 2023 Share Posted November 16, 2023 File Type Search Alfred 5 workflow, which allows a filtered search for files of the selected file type. Usage Search for a file type via the ft keyword. Press ↩ to select the file type. Then search for a file with the set file type. ↩: Open the file. ⌘+↩: Reveal in Finder. Setup 1. Download latest release of File Type Search.alfredworkflow. 2. Install into Alfred by double-click. 3. Enjoy 😉 Configuration Keyword The keyword used to tauch the worfklow. Interval for reloading system uti database MacOS maintains a system wide database with Uniform Type Identifier (UTI) like `public.jpeg`. Some UTI are managed by the system/ Apple, some are registered by installed software. When triggering the workflow with the keyword, all identifiers are loaded into Alfred. Since the process of getting the systems uti database is pretty slow, this workflow will create a json file with the necessary information when the workflow is used for the first time. When the json database is deleted or the `Interval for reloading system uti database` is passed, the workflow will create a new json file. Acknowledgements This Workflow is heavily inspired by the Simple Folder Search and Dynamic File Search respectively. The workflow icon is also based on these workflows. There is an example for creating a workflow which only searches *.pdf files in the Alfred docs. However, the file type would be static then. This workflow combines the both concepts so the file type can be set dynamically when using the workflow. There is a similar workflow by Stephen_C, which lists all files with a given extension in a given folder. The files are not searchable though. TODO - Find a way to select multiple file types before searching. - Insert option to select a folder as search scope. - Optimize database download. GitHub Repository Source Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now