Get a list of empty folders via email?

General Discussion in English
Post Reply
emalenfant
Posts: 2
Joined: Tue May 14, 2024 1:55 pm

Get a list of empty folders via email?

Post by emalenfant »

I have a few profiles created to sync up some data archives, and pick an arbitrary date.
Sometimes, the date does not have any files in it, as the original backup task to drop the file into the source folder, hasn't completed yet by the time the profile is running.

Is there a way to get a list of any/all right-hand side folders which sync'd, but have zero files?

I've take a look at pascal script, and thats outside my wheelhouse.
tobias
Posts: 1936
Joined: Tue Mar 31, 2020 7:37 pm

Re: Get a list of empty folders via email?

Post by tobias »

Hi,
that's really difficult. What do you mean with "pick an arbitrary date"? Does the profile use the same left and right base paths every time?

What can be done is to send an email if there were no files to copy.
emalenfant
Posts: 2
Joined: Tue May 14, 2024 1:55 pm

Re: Get a list of empty folders via email?

Post by emalenfant »

Let me clarify with an example.

Left side would have a folder depth of maybe 2 deep.

\\server\backups\$YEAR-MONTHNUM-todaysdate\hostname\backupfile.zip

Right hand side is the same, same variables. the arbitratry date could be the 1st, or the 15th...

right side, I need to find the hostname which may have no files copied.
Post Reply