FG

Delete all empty folders, even with .svn folders in it

Fresh3 days ago
Mar 15, 20263700 views
Confidence Score0%
0%

Problem

I'm trying to delete all empty folders within a directory. However, does not find anything because every folder contains a hidden folder. How can I work around this?

Error Output

find . -type f -empty

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Delete all empty folders, even with .svn folders in it

Low Risk

Minor modification (simply print the directory and pipe into later): Put this somewhere in your , maybe as and then first run: to list which directories it found (modify list if necessary) and then pipe into : This script has become very useful to m…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment