Go Back   Cockos Incorporated Forums > REAPER Forums > REAPER Q&A, Tips, Tricks and Howto

Reply
 
Thread Tools Display Modes
Old 01-21-2020, 08:18 PM   #1
rlgiht
Human being with feelings
 
Join Date: Jan 2020
Posts: 26
Default Can't automate the operation of cleaning up the project directory?

hello.
Currently, cleaning up the project directory requires two actions: manually selecting an unused item and pressing the execute button. Yes, these would be safer ways.
But I want to automate this, without opening a dialog window.
How do I automatically delete files that are not assigned to a track?
Specifically, I want to assign the project directory automatic cleanup to a macro key.
Also, I want to do it automatically when saving. Do I need a script to do this?
rlgiht is offline   Reply With Quote
Old 01-21-2020, 08:58 PM   #2
foxAsteria
Human being with feelings
 
foxAsteria's Avatar
 
Join Date: Dec 2009
Location: Oblivion
Posts: 10,271
Default

Open Project Bay and turn of the option to automatically retain media when removed from the project. Also do this for your default project (if you use one) and save it to ensure it's the case for all future projects.

If you want to archive your finished project:
Glue/bounce/'trim to active take' for all your tracks to get rid of unused take references and trimmed media. Save as a new file in a new directory and while doing this check the option to move the media. Now you can delete the old folder and it's contents (nothing there is referenced by the final version).

Keep in mind that some plugins may reference files outside the project folder and Reaper cannot know about this. In this case, what I said above isn't true; there may still be file references from e.g. samplers.

Basically the bad news is that you always have to do stuff like this carefully and manually because there are many variables, which is why it's not easy to automate.
__________________
foxyyymusic
foxAsteria is online now   Reply With Quote
Old 01-21-2020, 10:28 PM   #3
rlgiht
Human being with feelings
 
Join Date: Jan 2020
Posts: 26
Default

Quote:
Originally Posted by foxAsteria View Post
Open Project Bay and turn of the option to automatically retain media when removed from the project. Also do this for your default project (if you use one) and save it to ensure it's the case for all future projects.
thanks. A bit strange. In the reaper I use, the project bay was opened with action list> project bay window> on.
I checked option> automaticly ..
but the file remains in the project directory even if I deleted the track. Is it because of linux?
This test audio file checks that nothing is used in the sampler or anyway.
I didn't think this was such a complex thing. so just finding it difficult to automate would be very helpful, thank you.
rlgiht is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 01:30 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.