Get Size with Folders

An area that I need to persue comes in two fold.  One archiving off to a archive location for my dailybuilds.  With Final builder I have created a project where I can go through a list of folders on a network share and check the dates of modified files(wish I could do to top folder level like we can do for files).  Then I archive them off.  The next stage is our media archive.  Which I am working on with a folder iterate with an exlusion list(right now using IF statement).

Once this is completed I then perform the funtion of opening up the excel spreadsheet to get a archive number, then I want to check the Folder size of the archive location.  If the size will fit on a Single Layer DVD, I want to use that Media in that burner location.  IF the Size is larger then the media for the Single Layer, I want to check it against the Dual Layer disk in the second drive. 

If the archive will fit on either disk it will burn and then I will submit a report email to personnel that require this information.

If it is too large then I might want to do a span burn across both or just send a email stating that it is too large.

Issue I have is with the Get File Size.  It works well with FileSet and actual file specified.  But does not work well on Parent Folders

D:\Burn\Backup  - Does not work

D:\Burn\Backup\ITAR\Media\ODTK51\setup.exe - works

Attached is what I am working on.  If you see anything that can improve the process let me know!

Archive.fbz5 (10.173 KB)

So, can you use a FileSet with a base directory of D:\Burn\Backup and an include pattern of . ?

.t8

Also, if you specify the folder name with a trailing backslash in the Get File Size, it will calculate the size of all files in the folder (but doesn’t recurse).

Tate,

 

I tried to point to the *.* but since the root of the folders did not contain files only subfolders it did not work.  I will re-look at this and see if there is something I am doing.