Deleting all empty subdirectories in the directory you speci

Example tasks
Post Reply
User avatar
Alex
Site Admin
Posts: 342
Joined: Mon May 21, 2007 4:09 pm
Contact:

Deleting all empty subdirectories in the directory you speci

Post by Alex » Thu Jun 07, 2007 10:12 am

There is a task that searches for files, checks the date and deletes files that are older than 2 weeks. It works. Now it would be great if it could delete empty folders as well. But only empty folders, not those folders where files that have not been deleted remain.
Attachments
DeleteEmptyDirs.xstk
(9.89 KiB) Downloaded 946 times

Post Reply