bobbleheadjoe Posted August 18, 2015 Share Posted August 18, 2015 Hello everyone, A friend of mine showed me in Launcher there's an option to abbreviate the home folder when copying the path to the clipboard. Does Alfred have this feature? It's extremely useful for us because we share Dropbox links for files all the time via JIRA. For example, abbreviating the home folder in Launcher would change this: /Users/Mike/Dropbox/products/content/videos/planning/video1.mp4 into this: ~/Dropbox/products/content/videos/planning/video1.mp4 This makes links easier to read, and I'd really love to enable this in Alfred but I can't find the feature anywhere. Does it exist? Mike Link to comment
jdfwarrior Posted August 18, 2015 Share Posted August 18, 2015 Hello everyone, A friend of mine showed me in Launcher there's an option to abbreviate the home folder when copying the path to the clipboard. Does Alfred have this feature? It's extremely useful for us because we share Dropbox links for files all the time via JIRA. For example, abbreviating the home folder in Launcher would change this: /Users/Mike/Dropbox/products/content/videos/planning/video1.mp4 into this: ~/Dropbox/products/content/videos/planning/video1.mp4 This makes links easier to read, and I'd really love to enable this in Alfred but I can't find the feature anywhere. Does it exist? Mike It doesn't but you could create a Result Action that could do this for you. The result action would accept the full path and you would just need to make it do a search and replace in the string to replace /Users/Mike with ~. Do you know how to do something like this? If not, I could help you or even make it for you if you'd like Link to comment
bobbleheadjoe Posted August 19, 2015 Author Share Posted August 19, 2015 It doesn't but you could create a Result Action that could do this for you. The result action would accept the full path and you would just need to make it do a search and replace in the string to replace /Users/Mike with ~. Do you know how to do something like this? If not, I could help you or even make it for you if you'd like Hi David, I do not know how to do that, unfortunately. Any help would be appreciated. Mike Link to comment
jdfwarrior Posted August 20, 2015 Share Posted August 20, 2015 Hi David, I do not know how to do that, unfortunately. Any help would be appreciated. Mike Sure thing. Try this out: http://cloud.dferg.us/SO9F This will provide you with a new option to "Copy Abbreviated Path" Link to comment
bobbleheadjoe Posted August 21, 2015 Author Share Posted August 21, 2015 Sure thing. Try this out: http://cloud.dferg.us/SO9F This will provide you with a new option to "Copy Abbreviated Path" Works like a champ - thank you so much! Mike 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