delete empty folder

English Support for Syncovery on Linux etc.
Post Reply
turbalf
Posts: 6
Joined: Tue Nov 23, 2021 11:08 pm

delete empty folder

Post 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 !

tobias
Posts: 1603
Joined: Tue Mar 31, 2020 7:37 pm

Re: delete empty folder

Post 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/

Post Reply