You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently a user w/ lots of different globs to pass to -files might have to do some extra bash work to make a nice clean list into a string before using this cli. If someone could pipe in a list, it could make it simpler to do this in a pre-build bash script.
Idea
FILE_GLOBS=(
'public/css/*.css''public/js/*.js''public/img/*.*''public/img/**/*.*''public/img/**/**/*.*''public/video/*.*''public/video/**/*.*''public/misc/*.*',
'public/fonts/*.*'
)
FILES=$(printf ",%s""${FILE_GLOBS[@]}")
FILES=${FILES:1}# slice the first "," char
./buffer-static-upload -files "$FILES" -dir marketing
Purpose
Currently a user w/ lots of different globs to pass to
-files
might have to do some extra bash work to make a nice clean list into a string before using this cli. If someone could pipe in a list, it could make it simpler to do this in a pre-build bash script.Idea
Could be turned into:
The text was updated successfully, but these errors were encountered: