# Saving a variety of .rb files

**URL:** <https://in-thread.sonic-pi.net/t/saving-a-variety-of-rb-files/1354>\
**Category:** \[P\] Patreon Support\
**Created:** [July 21, 2018, 9:57am UTC](https://in-thread.sonic-pi.net/t/saving-a-variety-of-rb-files/1354 "2018-07-21T09:57:18Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![brendanmac](https://dub1.discourse-cdn.com/flex017/user_avatar/in-thread.sonic-pi.net/brendanmac/32/2809_2.png) [@brendanmac](https://in-thread.sonic-pi.net/u/brendanmac)\
**Post date:** [July 21, 2018, 9:57am UTC](https://in-thread.sonic-pi.net/t/saving-a-variety-of-rb-files/1354/1 "2018-07-21T09:57:18Z")

</div>

Hi  
Sonic Pi newcomer here. I would like to ask what the SPi mechanism is for saving/editing multiple .rb files. While I kinda understand the multiple Buffers paradigm, in the absence of an Application menu I don’t understand how SPi saves and recognises multiple .rb file (prob because I don’t know Ruby). If I open a SPi ‘project’, make some changes and quit, the changes are saved. But I’ve noticed that sometimes those changes occur in all recent .rb files. I guess I just need a clear description of how SPi saves .rb files, and how to save a file before making changes and saving as a NEW .rb file. You know, myProject\_v1, myProject\_v2 etc.

Thanks

---

<div class="post-metadata">

**Author:** ![samaaron](https://dub1.discourse-cdn.com/flex017/user_avatar/in-thread.sonic-pi.net/samaaron/32/7_2.png) [@samaaron](https://in-thread.sonic-pi.net/u/samaaron)\
**Post date:** [July 21, 2018, 10:52am UTC](https://in-thread.sonic-pi.net/t/saving-a-variety-of-rb-files/1354/2 "2018-07-21T10:52:54Z")

</div>

Hi @brendanmac,

thanks for your question. Unfortunately you posted it in the wrong category, so I have now moved it from “Introductions & Stories” to “Support, Help & Resources”. Note that to engage further, you’ll need to support further development of Sonic Pi. Unfortunately as things currently stand I will have to stop continued development soon when the money runs out in a few months.

> **[Sam Aaron is creating the live coding synth Sonic Pi | Patreon](https://www.patreon.com/samaaron)**
>
> Become a patron of Sam Aaron today:
> Read 70 posts by Sam Aaron and get access to exclusive
> content and experiences on the world’s largest membership
> platform for artists and creators.

To answer your question, Sonic Pi automatically saves and manages your files. From a user perspective you have the option of exporting and importing the contents of the files as standard text files, but this is only one buffer at a time. There is currently no way to import or export multiple files in one go. This is something I would like to work on, but as mentioned above, resources are unfortunately too low currently.
