3
rated 0 times
[
3]
[
0]
/ answers: 1 / hits: 2254
/ 1 Year ago, fri, december 30, 2022, 2:53:19
I would like to find (later delete) all music folders that are nearly empty (Banshee deletes only the music files but not the other files in there).
I tried with:
find -type d -size -500k ;
But it shows folders that contain bigger files too.
find -type d -size -500k -exec du {} ;
shows the correct size.
How to modify the find cmd to only show folders that are smaller then N?
More From » command-line