Jump to content

samkrauser

Member
  • Posts

    1
  • Joined

  • Last visited

Everything posted by samkrauser

  1. Hi, First time posting here, looking for some help. I want to create a workflow that allows me execute my youtube-dl command in the terminal and I also want to create a folder to put the downloaded files in. So basically the workflow needs to cd to a directory(predefined) and then make a newly named folder (query 1) and then download the file(s) from the URL (query 2). I've done some looking around at having more than 1 query in alfred and I found some bin/bash script that works: #!/bin/bash # split the query into an argument array IFS=',' read -a qarg <<< "{query}" # set the x and y queries from the array x=${qarg[0]} y=${qarg[1]} But I'm not sure how to take those 2 queries and feed them into a terminal command within Alfred. Any ideas? Thanks in advance, I'm pretty new to this sorta stuff, but really loving Alfred and the stuff you can do!
×
×
  • Create New...