deadman36g Posted September 5, 2017 Share Posted September 5, 2017 I am wanting to be able to open a file called lftp.conf with Alfred but am having some issues. The file is located the following way /usr/local/Cellar/lftp/4.7.7/etc/lftp.conf I have added /usr/local/Cellar/ to Alfred's Search Scope, then done a reload Under user-defined file type I have added *.conf When I search though, I am not seeing the file I made a copy of the file and moved it to Downloads and Alfred does see it, so perhaps it is the location? Link to comment
deadman36g Posted September 11, 2017 Author Share Posted September 11, 2017 I take it this may not be possible? Link to comment
deanishe Posted September 11, 2017 Share Posted September 11, 2017 The File Types are UTIs, not glob patterns. Try dragging a .conf file to the list. It may or may not work, depending on whether there is a UTI defined for file extension .conf Link to comment
deadman36g Posted September 11, 2017 Author Share Posted September 11, 2017 Ok, when I a drag a .conf file to Alfred it gives me dyn.ah62d4rv4ge80g55sq2 as the UTI Link to comment
deanishe Posted September 11, 2017 Share Posted September 11, 2017 And can Alfred now find the file? Link to comment
deadman36g Posted September 11, 2017 Author Share Posted September 11, 2017 sorry for not included that info, but no it is still not being found. Link to comment
deanishe Posted September 11, 2017 Share Posted September 11, 2017 If Alfred is finding other files in /usr/local/Cellar, the problem is probably that no application on your system has defined a filetype for *.conf files. You could create a dummy application that defines the filetype in its info.plist, but the simplest solution is probably to add an "lftp" Keyword to a workflow and connect it to an Open File action pointing at the lftp config file. 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