# Get Size with Folders

**URL:** <https://www.finalbuilder.com/forums/t/get-size-with-folders/2929>\
**Category:** Bugs\
**Created:** [November 21, 2007, 8:21am UTC](https://www.finalbuilder.com/forums/t/get-size-with-folders/2929 "2007-11-21T08:21:03Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![djmarks](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/d/b487fb/32.png) [@djmarks](https://www.finalbuilder.com/forums/u/djmarks)\
**Post date:** [November 21, 2007, 8:21am UTC](https://www.finalbuilder.com/forums/t/get-size-with-folders/2929/1 "2007-11-21T08:21:03Z")

</div>

An area that I need to persue comes in two fold.&nbsp; One archiving off to a archive location for my dailybuilds.&nbsp; 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).&nbsp; Then I archive them off.&nbsp; The next stage is our media archive.&nbsp; 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.&nbsp; If the size will fit on a Single Layer DVD, I want to use that Media in that burner location.&nbsp; 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.&nbsp;

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.&nbsp; It works well with FileSet and actual file specified.&nbsp; But does not work well on Parent Folders

D:\Burn\Backup&nbsp; - Does not work

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

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

 [Archive.fbz5](https://www.finalbuilder.com/forums/uploads/default/original/2X/3/3fcd3c0209303afe2b485e26ef3bec86120a4ad0.fbz5) (10.173 KB)

---

<div class="post-metadata">

**Author:** ![tate](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/t/e19b73/32.png) [@tate](https://www.finalbuilder.com/forums/u/tate)\
**Post date:** [November 23, 2007, 1:17am UTC](https://www.finalbuilder.com/forums/t/get-size-with-folders/2929/2 "2007-11-23T01:17:56Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![tate](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/t/e19b73/32.png) [@tate](https://www.finalbuilder.com/forums/u/tate)\
**Post date:** [November 23, 2007, 1:25am UTC](https://www.finalbuilder.com/forums/t/get-size-with-folders/2929/3 "2007-11-23T01:25:01Z")

</div>

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).

---

<div class="post-metadata">

**Author:** ![djmarks](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/d/b487fb/32.png) [@djmarks](https://www.finalbuilder.com/forums/u/djmarks)\
**Post date:** [December 12, 2007, 5:38am UTC](https://www.finalbuilder.com/forums/t/get-size-with-folders/2929/4 "2007-12-12T05:38:56Z")

</div>

Tate,

&nbsp;

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

&nbsp;
