Comment 4 for bug 1954311

Revision history for this message
Akbarkhon Variskhanov (kbar) wrote (last edit ):

Replaced -prune with -maxdepth 1 because -delete automatically turns on -depth.

Reverted the second command back to its original state as -delete can't delete directories that aren't empty.