Sebastian Daza Posted August 31, 2017 Share Posted August 31, 2017 (edited) Hello, I want to create a simple folder action: 1. I select a folder 2. cd that path 3. run a command I have problems with paths with spaces. This doesn't work: cd {query} ls Any ideas on how to get a right path when it has spaces. Thanks! Edited August 31, 2017 by Sebastian Daza Link to comment
deanishe Posted August 31, 2017 Share Posted August 31, 2017 Use the correct escaping options (which Alfred defaults to when you create an empty Run Script action with Language = bash). Link to comment
Sebastian Daza Posted August 31, 2017 Author Share Posted August 31, 2017 Got it! Thanks! 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