UtilityProgram
File deletion program written in Python.
- Purge Files: is a program that purges an entire directory or file given user input. The user is prompted 3 times before deleting something so that it is hard to accidentally delete something.
USING THE PROGRAM (Disclaimer I have only used and tested this on Linux Ubuntu 14.04 and Linux Ubuntu 16.04)
Step 1 - Download the purge program from https://github.com/MorrisLaw/UtilityPrograms via the “clone or download” link.
Step 2 - cd to the path where you’ve installed the program, then navigate to purge.py.
- Be sure to have unzipped your package first, before navigating to the script.
- This is the python script that will be run. It is located under the PurgeFiles directory in the package.
Step 3 - While in terminal, run the command ‘python3 purge.py’ to start the script.
- This uses the python 3 interpreter, so make sure you have python 3 installed. You can get it from https://www.python.org/downloads/.
USE CASES purge.py


Successful cancelling of a deletion will output a message similar to this (will say directory instead of file if cancelling the deletion of a directory.)

This is what happens when an invalid path is given.

SCREENSHOT OF DEMO –> purge.py on Linux Ubuntu 14.04

OVERALL DESIGN OF PROGRAM
