ClipReplace is a simple command-line tool to replace a section of text in a file with clipboard content.
Install clipreplace
using pipx
:
pipx install clipreplace
- Copy text to your clipboard
- Run the command:
clipreplace --file <file_path>
- If the first line of the clipboard matches a line in the file, the match section will be replaced with the clipboard content.
This project is licensed under the MIT License.