Replace a section of text in a file with clipboard content.
Project description
ClipReplace
ClipReplace is a simple command-line tool to replace a section of text in a file with clipboard content.
Installation
Install clipreplace using pipx:
pipx install clipreplace
Usage
- 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.
License
This project is licensed under the MIT License.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
clipreplace-0.1.1.tar.gz
(4.8 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file clipreplace-0.1.1.tar.gz.
File metadata
- Download URL: clipreplace-0.1.1.tar.gz
- Upload date:
- Size: 4.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.5.16
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0072184f4554b1d4650a2bedff2f34c16a001008091b86049147bf2611c5e9ee
|
|
| MD5 |
d41ffa5a6b78756123e1fd67cf48c242
|
|
| BLAKE2b-256 |
17b28973e77521d54dade6df62e2d02a7f34be7e8d615770935b85e36c740496
|
File details
Details for the file clipreplace-0.1.1-py3-none-any.whl.
File metadata
- Download URL: clipreplace-0.1.1-py3-none-any.whl
- Upload date:
- Size: 3.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.5.16
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
763ab455e5cc891ef651ac3d2b253f637719dbed770a25795e45a1d9b54ae77b
|
|
| MD5 |
b7be1261804faff1ec705a5fb985e766
|
|
| BLAKE2b-256 |
38ed79e34423044d54a97b92877d64696ab521fbaffeaa9f2665865695bded70
|