Created
June 16, 2019 07:03
-
-
Save takuti/b057ecd8387ff8c8cba9ac736a127b86 to your computer and use it in GitHub Desktop.
Uploading specific files in a folder to TD Workflow
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
project_name=foo | |
project_files=( | |
"config/" | |
"scripts/" | |
"queries/" | |
"workflow1.dig" | |
"workflow2.dig" | |
) | |
tar -czvf $project_name.tar.gz ${project_files[@]} | |
td wf upload $project_name.tar.gz $project_name |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment