A simple script to clear the content of a file.
You can install this package using the command below on Debian-based systems:
wget -O - "https://raw.githubusercontent.com/botsarefuture/clear-content/main/install.sh" | bash
To clear the content of a file, simply execute the clear-content
command followed by the filename as an argument:
clear-content <filename>
For example:
clear-content example.txt
To uninstall the script, you can use apt
:
sudo apt remove clear-content
Contributions are welcome! If you find any issues or have suggestions for improvements, feel free to open an issue or create a pull request.
This script is licensed under the MIT License.