Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: listing/deleting empty directories recursively



On Sat, 19 Nov 2005 10:57:25 +0100,  wrote:

>> ls -ld *(/^F)
>>
>> Will list any empty directories, but only for one level of subdirectories,
>> how to make it delete empty directories at any level.
>
>ls -ld **/*(/^F)
>(will list empty directories at any level in the current working directory)
>
>Christian
Thanx works just dandy,
Now I'd like to rm those directories, and log which ones were deleted. 

-- 
zzapper
Success for Techies and Vim,Zsh tips
http://SuccessTheory.com/



Messages sorted by: Reverse Date, Date, Thread, Author