tee-no-clobber
A version of the tee command line utility which does not write over files that exist
Alternatives and motivation
Shells can have no clobber options. But I prefer the power of clobbering files, untl I don't want it.
Installation
pipx install tee-no-clobbler
Usage
Write to hello into file if it does not exist.
echo hello | teenc file
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
tee_no_clobber-1.0.0.tar.gz
(3.2 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 tee_no_clobber-1.0.0.tar.gz.
File metadata
- Download URL: tee_no_clobber-1.0.0.tar.gz
- Upload date:
- Size: 3.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9583ee353cf5c84f28ea3042cd17b7cd81739dd86333d9b62be735676ba65e24
|
|
| MD5 |
68a4a377c0afb430e98025f270c09e7c
|
|
| BLAKE2b-256 |
4188de05661c9a005760465c5899187975db45970f4983ed0ad50a61d1894665
|
File details
Details for the file tee_no_clobber-1.0.0-py3-none-any.whl.
File metadata
- Download URL: tee_no_clobber-1.0.0-py3-none-any.whl
- Upload date:
- Size: 3.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
29099ebb8c9bf9d78c5be29804c83f30e4f244d4d88c043545c88b5b647dac5d
|
|
| MD5 |
9356dbb98881ba498cd6a03a0b79e124
|
|
| BLAKE2b-256 |
25c082193f3446c44e1d0856cf5ce63499d30c6b32f8b59e45f36a5270563571
|