Skip to content

Conversation

@greenmoss
Copy link

Warning: lightly tested!

Warning: lightly tested!
do
echo -e "\nSaving docker image '$i'"
OUTFILE=$(echo $i | sed -e 's/\//_/g' | sed -e 's/:/_/')
OUTFILE=$(echo $i | tr '\:' '_')
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You meant tr '/:' '_'? Note /, forward slash.
The purpose of two passes of sed is to replace / and : with underscore char _.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants