Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Uploading specific files in a folder to TD Workflow
#!/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