So I have a folder with files and folders in it
I want to delete just the folders and just the ones less then 100mb
And also don't want to delete the main /home/steve/New folder
Here's what I have so far:
Code:
find /home/steve/New/ -size -100M -type d -exec rm -rf {} \;
I doesn't work with the size parameter and without it then deleted all folders including working /home/steve/New folder