Files and folders

Delete a folder that isn't empty

Remove a folder and everything inside it from the terminal.

Fill these in once
  1. See what's inside first
    Terminal
    ls -la old-project
  2. Delete it and everything inside
    Terminal
    rm -rf old-project

    There's no undo and no Trash. Check the name twice.

  1. See what's inside first
    Terminal · Ubuntu / Debian
    ls -la old-project
  2. Delete it and everything inside
    Terminal · Ubuntu / Debian
    rm -rf old-project

    There's no undo and no Trash. Check the name twice.

  1. See what's inside first
    PowerShell
    Get-ChildItem old-project -Force
  2. Delete it and everything inside
    PowerShell
    Remove-Item old-project -Recurse -Force

    There's no undo and no Recycle Bin. Check the name twice.