Public Repository

Last pushed: 8 months ago
Short Description
Simple tool for replacing strings in database dumps
Full Description

Usage:

  1. cd to the directory containing the dump.

  2. docker run -v "$(pwd):/workdir" ohmy/search-replace-db <db dump filename> <string to be replaced> <string to use as replacement>

The original db dump is left intact; a new copy will be written to a slightly modified filename.

Notice: The script (in the image) expects the dump to be available in /workdir inside the container, so instead of using $(pwd), you can of course specify the path manually when running the image.

Docker Pull Command
Owner
ohmy