Page 1 of 1

delete empty folder

Posted: Tue Nov 23, 2021 11:11 pm
by turbalf
Hello,
I use syncovery on my qnap NAS and I need to delete empty folders, I don't find a way to do this.
I tried with mirroring an empty folder with the one who has sub-folders to delete only if those are empty.
I can't have the non-empty folder not deleted... any help ?
Thanks !

Re: delete empty folder

Posted: Tue Nov 23, 2021 11:45 pm
by tobias
Hello,
in the profile, under Files->Deletions, you can choose:
Never Delete any Files (only Folders)

Then make a small test please. The Sync Preview will show that it wants to delete all folders, but it will delete only empty ones (because folders that aren't empty can't be deleted).

Please test this with a test folder to verify that what I wrote is correct.

The mirroring of an empty folder against your target data can also be used to delete specific file types, or files older than X days. Please see:
https://www.syncovery.com/documentation ... an-x-days/