A simple Python script to delete all files and directories within the current working directory.
This script is designed to delete all files and directories within the current working directory. It iterates through each item in the directory, checks if it's a file or directory, and attempts to delete it.
To use this script, simply execute it in the directory you want to clean up. The script will delete all files and directories within the current working directory.
- Clone the repository using
git clone https://github.com/DRACULA1729/DO-NOT-EXECUTE.git - Navigate to the cloned repository using
cd DO-NOT-EXECUTE - Run the script using
python DO_NOT_EXECUTE.py
- Python 3.x
osandshutilmodules (included with Python)
This project is licensed under the MIT License. See the LICENSE file for details.
Contributions are welcome! If you'd like to contribute to this project, please fork the repository and submit a pull request.
This script permanently deletes files and directories without prompting for confirmation. Use with caution.
Deleting file example.txt...
Deleting directory example_dir...
Deleted all files and folders in the folder!
- This script was created using the Python programming language and its built-in modules.
- Initial release (v1.1)