How to upgrade Bootstrap 4 alpha.6 to Bootstrap 4 beta
Łukasz Holeczek
1324

$ find * -type f -exec sed -i ‘.bak’ ‘s/badge-default/badge-dark/g’ {} +
$ find * -type f -exec sed -i ‘.bak’ ‘s/bg-faded/bg-light/g’ {} +
$ find * -type f -exec sed -i ‘.bak’ ‘s/bg-inverse/bg-dark/g’ {} +
$ find * -type f -exec sed -i ‘.bak’ ‘s/card-block/card-body/g’ {} +
$ find * -type f -exec sed -i ‘.bak’ ‘s/card-outline-primary/border-primary/g’ {} +
$ find * -type f -exec sed -i ‘.bak’ ‘s/card-outline-secondary/border-secondary/g’ {} +
$ find * -type f -exec sed -i ‘.bak’ ‘s/card-outline-*/border-*/g’ {} +
$ find * -type f -exec sed -i ‘.bak’ ‘s/card-outline-success/border-success/g’ {} +
$ find * -type f -exec sed -i ‘.bak’ ‘s/card-outline-info/border-info/g’ {} +
$ find * -type f -exec sed -i ‘.bak’ ‘s/card-outline-warning/border-warning/g’ {} +
$ find * -type f -exec sed -i ‘.bak’ ‘s/card-(color)/bg-(color)/g’ {} +
$ find * -type f -exec sed -i ‘.bak’ ‘s/card-primary/bg-primary/g’ {} +
$ find * -type f -exec sed -i ‘.bak’ ‘s/card-success/bg-success/g’ {} +
$ find * -type f -exec sed -i ‘.bak’ ‘s/card-info/bg-info/g’ {} +
$ find * -type f -exec sed -i ‘.bak’ ‘s/card-warning/bg-warning/g’ {} +
$ find * -type f -exec sed -i ‘.bak’ ‘s/card-danger/bg-danger/g’ {} +
$ find * -type f -exec sed -i ‘.bak’ ‘s/hidden-xs-down/d-none d-sm-block/g’ {} +
$ find * -type f -exec sed -i ‘.bak’ ‘s/hidden-sm-down/d-none d-md-block/g’ {} +
$ find * -type f -exec sed -i ‘.bak’ ‘s/hidden-md-down/d-none d-lg-block/g’ {} +
$ find * -type f -exec sed -i ‘.bak’ ‘s/hidden-lg-down/d-none d-xl-block/g’ {} +
$ find * -type f -exec sed -i ‘.bak’ ‘s/hidden-xs-up/d-none/g’ {} +
$ find * -type f -exec sed -i ‘.bak’ ‘s/hidden-sm-up/d-sm-none/g’ {} +
$ find * -type f -exec sed -i ‘.bak’ ‘s/hidden-md-up/d-md-none/g’ {} +
$ find * -type f -exec sed -i ‘.bak’ ‘s/hidden-lg-up/d-lg-none/g’ {} +
$ find * -type f -exec sed -i ‘.bak’ ‘s/hidden-xl-up/d-xl-none/g’ {} +
$ find * -type f -exec sed -i ‘.bak’ ‘s/navbar-toggleable-*/navbar-expand-*/g’ {} +
$ find * -type f -exec sed -i ‘.bak’ ‘s/navbar-toggleable-sm/navbar-expand-sm/g’ {} +
$ find * -type f -exec sed -i ‘.bak’ ‘s/navbar-toggleable-md/navbar-expand-md/g’ {} +
$ find * -type f -exec sed -i ‘.bak’ ‘s/navbar-toggleable-lg/navbar-expand-lg/g’ {} +

One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.