(SOLVED) RFE: find <path> -d -size 0 => doesn't find empty directories
Fri Nov 2 05:33:00 GMT 2018
L A Walsh wrote:
> On 10/31/2018 9:39 PM, Mark Geisert wrote:
>> I shouldn't have blindly trusted the Subject:.
> You did and gave the right answer. I had forgotten about
> empty -- though not sure why. I guess I usually only use it for file
> normally. For empty directories under /tmp, I usually use 'rmdir *'.
What I meant was, I blindly trusted "-d" to select directories. It doesn't.
One has to explicitly say '-type d' to do that. 'man find' explains.
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
More information about the Cygwin