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.
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.