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

Reply
 
Thread Tools Display Modes
Old 01-02-2017, 12:23 PM   #1
RegulusJJR
Human being with feelings
 
Join Date: Nov 2016
Location: Finland
Posts: 6
Default Python tool for deleting redundant .wav-files

Hey,
When switching PC's and copying projects, a tool like this came to mind. After a while a primitive version was done and I was able to delete > 10GB of useless files from old projects.

How it works:
- Checks for a .rpp file in a folder
- If found, reads the project file
- For each .wav file in the folder and subfolders, checks if it's included in the project (freeze sources are included)
- Moves redundant files to "ReaCleanup"-folder to wait for deletion

Would this be of any use to more people? I could share the (very brief) source code or even an .exe format after some improvements, if this kind of program is needed.

Cheers,
Felix
__________________
(ヘ・_・)┳━┳
┬──┬ ノ( ゜-゜ノ) ┳━┳
┻━┻ ︵ ¯\(ツ)/¯ ︵ ┻━┻

Last edited by RegulusJJR; 01-02-2017 at 12:24 PM. Reason: Clarity: Gb -> GB
RegulusJJR is offline   Reply With Quote
Old 06-16-2017, 11:07 AM   #2
reaperDJ_MPLS
Human being with feelings
 
reaperDJ_MPLS's Avatar
 
Join Date: Mar 2017
Location: Minneapolis
Posts: 34
Default PLEASE!!!!!!!!

I would like to have this very much!!! If you could share it, that would be great!!!!

reaperDJ_MPLS is offline   Reply With Quote
Old 06-16-2017, 01:30 PM   #3
mlprod
Human being with feelings
 
Join Date: Jul 2015
Location: Stockholm, Sweden
Posts: 1,343
Default

+1! Would be very nice. One major flaw with the currect clean directory is that it only looks in the audio files foler set by the project.
mlprod is offline   Reply With Quote
Old 06-22-2017, 04:53 PM   #4
Philbo King
Human being with feelings
 
Philbo King's Avatar
 
Join Date: May 2017
Posts: 3,201
Default

Hell yeah
Philbo King is offline   Reply With Quote
Old 06-22-2017, 10:14 PM   #5
mschnell
Human being with feelings
 
mschnell's Avatar
 
Join Date: Jun 2013
Location: Krefeld, Germany
Posts: 14,686
Default

Quote:
Originally Posted by RegulusJJR View Post
I could share the (very brief) source code or even an .exe format after some improvements, if this kind of program is needed.
Can't it be done as a (Python) Reaper Script ?

If yes, it should be shared via ReaPack.

-Michael
mschnell is online now   Reply With Quote
Old 06-23-2017, 01:47 AM   #6
Ulf3000
Human being with feelings
 
Join Date: May 2016
Posts: 369
Default

it would be nice if it could read multiple reaper projects !

in a folder i may have my

funkysong_v6.rpp ( my mix with all heavy plugs n n tons of tracks etc)

and

recordings.rpp (a simple project for recording at best latency)

so if i delete everything which is not in funkysong_v6.rpp all the stuff in recordings is deleted

or in case of using "subprojects" the same problem can arise , in case of keeping an older version of the song too

so itd be nice to select more than one rpp in the same folder
Ulf3000 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 02:08 AM.


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