FG
💻 Software

Why does removing directories on my linux takes forever?

Fresh6 days ago
Mar 15, 20263152 views
Confidence Score0%
0%

Problem

I use to delete some large directories from my linux. It takes forever! Is there anyway to speed things up?

Error Output

rm -rf mydir

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Why does removing directories on my linux takes forever?

Low Risk

Stackoverflow question of interest has some good tricks, Unix: fast 'remove directory' for cleaning up daily builds And, what is a 'large directory' here? A flat directory with lots of (maybe small) files? or, a large directory tree (which may be wi…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment