Bulk Delete Script Generator
Paste a list of file paths and get back a reviewable Bash or PowerShell delete script — with automatic warnings for dangerous or overly broad patterns before you run anything.
How to use Bulk Delete Script Generator
- Use these example values as a starting point: /var/log/old-app.log C:\Temp\cache\old-session.tmp ./build/tmp-output.bin.
- Set the inputs and options shown here: File paths (one per line), Target shell, Generate as dry-run (echo only) first.
- Run the tool with Generate Script.
- Review the results, then choose an output control: Download Script, Copy.
Why a web page can't delete your files — and what it can do instead
No legitimate web tool can reach into your computer's real filesystem and delete files directly; any site claiming to is either lying or asking for dangerous permissions it shouldn't have. What this tool does instead is generate the exact, reviewable command — a Bash script or PowerShell script — so you stay in control of what actually runs.
Reading the danger warnings before you run anything
Every path you paste is checked against common catastrophic patterns — deleting a root directory, an entire drive, or a system folder — and flagged before you ever see the generated script, so a typo doesn't turn into a disaster.
Will this actually delete my files when I click the button?
No — it only generates a script as text for you to download or copy. Nothing is deleted until you choose to run that script yourself.
What does the dry-run option do?
It swaps the real delete command for one that only prints what it would have deleted, so you can sanity-check the list before switching to the real version.
Is PowerShell output safe to run as-is?
Always review any generated script yourself before running it, especially with elevated permissions — the warnings here catch common mistakes, not every possible one.