How delete empty directories or exclude them?

Questions about Cobian Reflector
Post Reply
elanevsky
Posts: 3
Joined: 15 Sep 2023, 09:49

How delete empty directories or exclude them?

Post by elanevsky »

Hello! I'm trying to scan a folder with nested subfolders and copy only files with a certain name into separate archives. In the Filter section I specified Include ONLY these files - 1Cv8.1CD This works. But along with the files I need, empty folders are copied, where there are no such files, with names 1Cv8Log, 1Cv8JobScheduler, 1Cv8FTxt

In Cobian Backup 11 (Gravity), in Advanced section there was an option "Delete empty directories" But I couldn't find it in Cobian Reflector :(

Can you please tell me how I can configure this?
- Delete empty directories from the destination, or
- How do I configure that directories named 1Cv8Log, 1Cv8JobScheduler, 1Cv8FTxt are not counted? I tried adding REGULAR EXPRESSION to an exclusion mask: .*\\\1Cv8Log\\.* but that didn't work
User avatar
cobian
Site Admin
Posts: 4608
Joined: 31 Oct 2020, 01:25
Location: Sweden
Contact:

Re: How delete empty directories or exclude them?

Post by cobian »

It's called Ignore empty directories
--
Luis Cobian
Cobian Backup's creator
elanevsky
Posts: 3
Joined: 15 Sep 2023, 09:49

Re: How delete empty directories or exclude them?

Post by elanevsky »

cobian wrote: 15 Sep 2023, 11:19 It's called Ignore empty directories
This switch is enabled, tested, but still does not work as I need(
The directories 1Cv8Log, 1Cv8JobScheduler, 1Cv8FTxt are not empty, they have files in them. But there are no files I need to copy, named 1Cv8.1CD. And it turns out that they are copied empty. How to delete them at all? Or how to set the mask correctly so that they are ignored? I found only a mask by file, but not by directory.
User avatar
cobian
Site Admin
Posts: 4608
Joined: 31 Oct 2020, 01:25
Location: Sweden
Contact:

Re: How delete empty directories or exclude them?

Post by cobian »

If this is not a SFTP or FTP , Ignore empty directories should work. If not, then no idea.. :cry:
--
Luis Cobian
Cobian Backup's creator
elanevsky
Posts: 3
Joined: 15 Sep 2023, 09:49

Re: How delete empty directories or exclude them?

Post by elanevsky »

cobian wrote: 18 Sep 2023, 14:56 If this is not a SFTP or FTP , Ignore empty directories should work. If not, then no idea.. :cry:
Hi! Yes, my destination is cloud FTP. I checked the upload via SFTP and FTP, empty directories are created.
If I change the destination to a local folder, everything is fine, no empty directories, copied as needed.

I checked the same task, a backup of the same source on FTP in Cobian Backup 11 (Gravity) - it worked as it should, there are no empty folders on FTP. I'm thinking about switching back to this version :(
Last edited by elanevsky on 19 Sep 2023, 18:37, edited 1 time in total.
User avatar
cobian
Site Admin
Posts: 4608
Joined: 31 Oct 2020, 01:25
Location: Sweden
Contact:

Re: How delete empty directories or exclude them?

Post by cobian »

YEs, not implemented yet on this version.
--
Luis Cobian
Cobian Backup's creator
elanevsky
Posts: 3
Joined: 15 Sep 2023, 09:49

Re: How delete empty directories or exclude them?

Post by elanevsky »

Здравствуйте! Подскажите, пожалуйста, можно ли как-то настроить в Cobian Reflector выгрузку на FTP в два этапа?
1) Сжатие файлов в архив в системный каталог временных файлов
2) Выгрузка этого архива на FTP/SFTP
Так работает в Cobian Backup, но мне очень хотелось бы пользоваться более новой версией программы. Пока не нашел как можно настроить((

Hello! Can you please tell me if it is possible to set up in Cobian Reflector upload to FTP in two stages?
1) Compressing files into an archive in the system temporary files directory
2) Uploading this archive to FTP/SFTP.
This is how it works in Cobian Backup, but I would really like to use a newer version of the program. I haven't found how to customize it yet((
User avatar
cobian
Site Admin
Posts: 4608
Joined: 31 Oct 2020, 01:25
Location: Sweden
Contact:

Re: How delete empty directories or exclude them?

Post by cobian »

Budet realizovanno na 3tej versii.
--
Luis Cobian
Cobian Backup's creator
Post Reply