This is the mail archive of the cygwin-apps@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: a script to remove empty directories


Igor Pechtchanski wrote:

Here's a variant of the above that works with spaces in filenames (but
doesn't delete directories that contain only empty directories):

find $ROOT -depth -type d -empty -print0 |xargs -0 rmdir -f

However, does anyone care to submit a patch to the generic-build-script?
	Igor

Igor,


I'll try out the new script next week with one of my packages, and then I will send such a patch.

Andreas.



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]