Deleting all empty subdirectories in the directory you speci

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

Deleting all empty subdirectories in the directory you speci

Postby 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 691 times

Return to “Examples”

Who is online

Users browsing this forum: No registered users and 5 guests