# BatchSaveSmall Scripting Help

**URL:** <https://discourse.mcneel.com/t/batchsavesmall-scripting-help/2658>\
**Category:** Scripting\
**Created:** [September 28, 2013, 12:45am UTC](https://discourse.mcneel.com/t/batchsavesmall-scripting-help/2658 "2013-09-28T00:45:24Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![garys](https://avatars.discourse-cdn.com/v4/letter/g/b38774/32.png) [@garys](https://discourse.mcneel.com/u/garys)\
**Post date:** [September 28, 2013, 12:45am UTC](https://discourse.mcneel.com/t/batchsavesmall-scripting-help/2658/1 "2013-09-28T00:45:24Z")

</div>

Hello Forum!  
Found this wonderful script written by Dale Fugier to Batch Save Small Rhino files.  
Am using it with the recurse option to be able to Save Small a larger group of folders.  
Problems:

1. After about doing 20 files the program slows down significantly. Could that be a memory issue?
2. Have a lot of older version Rhino files from version 3 and 4. When running the script it stops for older versions to ask how you want them saved. Would like to be able to save all files as Rhino 5.  
Any help would be greatly appreciated. We have about 3000-5000 older Rhino files we would like converted to Rhino 5 and also “Condensed”  
Thanks  
Gary

[Link to the script](http://wiki.mcneel.com/developer/scriptsamples/batchsavesmall)

---

<div class="post-metadata">

**Author:** ![Helvetosaur](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/helvetosaur/32/635974_2.png) [@Helvetosaur](https://discourse.mcneel.com/u/Helvetosaur)\
**Post date:** [September 28, 2013, 11:32am UTC](https://discourse.mcneel.com/t/batchsavesmall-scripting-help/2658/2 "2013-09-28T11:32:15Z")

</div>

I think this modification should work… not tested though…

–Mitch

[BatchSaveSmall.rvb](https://global.discourse-cdn.com/mcneel/uploads/default/original/3X/a/d/adbe4b609d43471397b85324019a8c4f07f6935e.rvb)(3.2 KB)

---

<div class="post-metadata">

**Author:** ![garys](https://avatars.discourse-cdn.com/v4/letter/g/b38774/32.png) [@garys](https://discourse.mcneel.com/u/garys)\
**Post date:** [September 28, 2013, 9:52pm UTC](https://discourse.mcneel.com/t/batchsavesmall-scripting-help/2658/3 "2013-09-28T21:52:39Z")

</div>

Hi Mitch  
Does not work. Although it doesn’t “prompt” for file type to save it doesn’t seem to Save Small. Folders are the same size before and after running script. Still gets really slows down after about 40-50 files. maybe add a “Clear Undo”?  
Thanks for looking!  
Gary

---

<div class="post-metadata">

**Author:** ![garys](https://avatars.discourse-cdn.com/v4/letter/g/b38774/32.png) [@garys](https://discourse.mcneel.com/u/garys)\
**Post date:** [September 28, 2013, 10:37pm UTC](https://discourse.mcneel.com/t/batchsavesmall-scripting-help/2658/4 "2013-09-28T22:37:38Z")

</div>

Hi Mitch  
Found what appears to be a solution…Please see enclosed script.  
Also added the clear undos to see if that helps to slowing after the script runs for a while.  
Added rvb file[BatchSaveSmallSubfolders2.rvb](https://global.discourse-cdn.com/mcneel/uploads/default/original/3X/2/2/220fce9dbb9d85c93c6ce7d3a74fa70d73776023.rvb)(3.3 KB)  
Gary

---

<div class="post-metadata">

**Author:** ![garys](https://avatars.discourse-cdn.com/v4/letter/g/b38774/32.png) [@garys](https://discourse.mcneel.com/u/garys)\
**Post date:** [October 1, 2013, 11:04pm UTC](https://discourse.mcneel.com/t/batchsavesmall-scripting-help/2658/5 "2013-10-01T23:04:36Z")

</div>

Hello NG  
The script BatchSaveSmallSubfolders2 above works well on saving Rhino 3 files as Rhino 5.  
But on Rhino 4 files it prompts whether you want to save as Rhino 3 or Rhino 5.  
Would like it to save Rhino 4 Files as Rhino 5.  
Any Ideas?  
Thanks  
Gary

---

<div class="post-metadata">

**Author:** ![emquies](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/emquies/32/140343_2.png) [@emquies](https://discourse.mcneel.com/u/emquies)\
**Post date:** [February 6, 2022, 1:49pm UTC](https://discourse.mcneel.com/t/batchsavesmall-scripting-help/2658/6 "2022-02-06T13:49:13Z")

</div>

Thank You , Very Helpful
