Switching drives without rebuilding database?

406 views
Skip to first unread message

Jamey Scott

unread,
Aug 14, 2015, 3:39:20 PM8/14/15
to soundmi...@googlegroups.com
Hey there.
I've just pulled all of my library from an iSCSI share and put it on a NAS with a shared volume that is exactly the same name and directory structure of my previous location. Is there a way to trick sm 4.5x165 into seeing the files on my new drive without rebuilding the database?

Thanks in advance,
Jamey

steve pecile

unread,
Aug 14, 2015, 4:07:51 PM8/14/15
to iocom...@gmail.com, soundmi...@googlegroups.com
name the volume exactly the same so it is tricked into thinking it is the same

--
You received this message because you are subscribed to the Google Groups "Soundminer Users Collective" group.
To unsubscribe from this group and stop receiving emails from it, send an email to soundminerfor...@googlegroups.com.
To post to this group, send email to soundmi...@googlegroups.com.
Visit this group at http://groups.google.com/group/soundminerforum.
For more options, visit https://groups.google.com/d/optout.

Jeremiah Moore

unread,
Aug 14, 2015, 4:11:05 PM8/14/15
to iocom...@gmail.com, soundmi...@googlegroups.com
In my experience... if the path is the same, the files will be seen.  easy as that.

If this is not possible, a relink can be done.  Select-all, right-click, "relink".   Depending on DB size, it could take a while.  Hours even, if you have many hundreds of thousands of records.  You identify the root path, and the system crawls it rebuilding its path field.  

This could go wrong if there are identically named files....


But plan A should be good  (I see Steve Pecile is saying same.)

-jeremiah



--
You received this message because you are subscribed to the Google Groups "Soundminer Users Collective" group.
To unsubscribe from this group and stop receiving emails from it, send an email to soundminerfor...@googlegroups.com.
To post to this group, send email to soundmi...@googlegroups.com.
Visit this group at http://groups.google.com/group/soundminerforum.
For more options, visit https://groups.google.com/d/optout.



--
-----------------------------------------------------------
jeremiah moore | SOUND | jmo...@northstation.net
http://www.jeremiahmoore.com/

The TANK: place-based sonic arts space

Helge Schwarz

unread,
Aug 14, 2015, 4:17:23 PM8/14/15
to jmo...@northstation.net, iocom...@gmail.com, soundmi...@googlegroups.com
Works here too : Just same pathname 
for INT.SATA and backup at EXT.USB 
with SM4.5ProA165

Helge

Guido Helbling

unread,
Aug 14, 2015, 4:18:00 PM8/14/15
to jmo...@northstation.net, iocom...@gmail.com, soundmi...@googlegroups.com
FYI: Instead of relinking, use Justins script ‚Change FilePath‘.
If you have to change a ton of filepaths, it is much more faster than relinking. 


cheers

Guido


Am 14.08.2015 um 22:11 schrieb Jeremiah Moore <jmo...@northstation.net>:

Jamey Scott

unread,
Aug 14, 2015, 4:20:58 PM8/14/15
to Guido Helbling, jmo...@northstation.net, soundmi...@googlegroups.com
That was exactly what I was hoping for, Guido. Though when I right click on an entry, the process metadata script option is greyed-out. Is there a script that I need to install somewhere for that to be accessible?

Guido Helbling

unread,
Aug 14, 2015, 4:25:00 PM8/14/15
to Jamey Scott, jmo...@northstation.net, soundmi...@googlegroups.com
please move over to the soundminer-forum: http://www.codedestructor.com/forum/
I think you have to browse around a bit, then you will find it in the v4 pro forum
it has to be installed in the script folder in your Application Support/Soundminer Folder.
-Quit V4 pro,
-Throw the script in the script folder,
-restart

Guido


Am 14.08.2015 um 22:20 schrieb Jamey Scott <iocom...@gmail.com>:

That was exactly what I was hoping for, Guido. Though when I right click on an entry, the process metadata script option is greyed-out. Is there a script that I need to install somewhere for that to be accessible?
On Fri, Aug 14, 2015 at 1:17 PM, Guido Helbling <in...@soundeffects.ch> wrote:
FYI: Instead of relinking, use Justins script ‚Change FilePath‘.
If you have to change a ton of filepaths, it is much more faster than relinking. 

<Bildschirmfoto 2015-08-14 um 22.14.39.png>

cheers

Guido

Jeremiah Moore

unread,
Aug 14, 2015, 4:35:54 PM8/14/15
to Guido Helbling, iocom...@gmail.com, soundmi...@googlegroups.com
Little help locating and installing said scripts would be great.

Seaching codedestructor and finding .... very little.

-jeremiah

On Fri, Aug 14, 2015 at 1:17 PM, Guido Helbling <in...@soundeffects.ch> wrote:

Jamey Scott

unread,
Aug 14, 2015, 4:36:42 PM8/14/15
to Jeremiah Moore, Guido Helbling, soundmi...@googlegroups.com
I found it here:

Having a little trouble getting it to work properly though..

Guido Helbling

unread,
Aug 14, 2015, 4:43:32 PM8/14/15
to Jamey Scott, Jeremiah Moore, soundmi...@googlegroups.com
Yes, this is it.

-Download the 'Change FilePath.lua' file
-Close V4 Pro
-Go into your Soundminer Support folder:
~User/Library/Application Support/Soundminer/Scripts
(if you’re not seeing the Library folder, you need to make it visable: http://osxdaily.com/2011/07/04/show-library-directory-in-mac-os-x-lion/ )
-Copy the .lua file in the Scripts Folder


Restart V4 Pro
-You can run the script with right-click menu. 

Works?

Guido


Am 14.08.2015 um 22:36 schrieb Jamey Scott <iocom...@gmail.com>:

I found it here:

Having a little trouble getting it to work properly though..
On Fri, Aug 14, 2015 at 1:35 PM, Jeremiah Moore <jmo...@northstation.net> wrote:
Little help locating and installing said scripts would be great.

Seaching codedestructor and finding .... very little.

-jeremiah
On Fri, Aug 14, 2015 at 1:17 PM, Guido Helbling <in...@soundeffects.ch> wrote:
FYI: Instead of relinking, use Justins script ‚Change FilePath‘.
If you have to change a ton of filepaths, it is much more faster than relinking. 

<Bildschirmfoto 2015-08-14 um 22.14.39.png>

cheers

Guido

Jeremiah Moore

unread,
Aug 14, 2015, 4:45:47 PM8/14/15
to Jamey Scott, Guido Helbling, soundmi...@googlegroups.com
Wouldn't it be nice if the additions to SM were collected and posted to a sticky "Latest Version" top post / Thread?   


Steve I know we're driving you nuts having conversation over here...!  
Ah, users.  You never know what they're going to do.

-jeremiah





On Fri, Aug 14, 2015 at 1:36 PM, Jamey Scott <iocom...@gmail.com> wrote:
I found it here:

Having a little trouble getting it to work properly though..
On Fri, Aug 14, 2015 at 1:35 PM, Jeremiah Moore <jmo...@northstation.net> wrote:
Little help locating and installing said scripts would be great.

Seaching codedestructor and finding .... very little.

-jeremiah
On Fri, Aug 14, 2015 at 1:17 PM, Guido Helbling <in...@soundeffects.ch> wrote:
FYI: Instead of relinking, use Justins script ‚Change FilePath‘.
If you have to change a ton of filepaths, it is much more faster than relinking. 


cheers

Guido


Am 14.08.2015 um 22:11 schrieb Jeremiah Moore <jmo...@northstation.net>:

In my experience... if the path is the same, the files will be seen.  easy as that.

If this is not possible, a relink can be done.  Select-all, right-click, "relink".   Depending on DB size, it could take a while.  Hours even, if you have many hundreds of thousands of records.  You identify the root path, and the system crawls it rebuilding its path field.  

This could go wrong if there are identically named files....


But plan A should be good  (I see Steve Pecile is saying same.)

-jeremiah


Jeremiah Moore

unread,
Aug 14, 2015, 4:55:12 PM8/14/15
to Jamey Scott, Guido Helbling, soundmi...@googlegroups.com
I did it.  Quit SM.  Found two lua scripts, downloaded, placed at:

/Users/ear/Library/Application Support/Soundminer/Scripts/Change FilePath.lua

(the Scripts folder was not there... I had to create it.)

Relaunched.  Not working / Menu still greyed out. 
SM Pro 4.5v165

Maybe only available in special alpha version of SM, posted at link?  

-jeremiah


Guido Helbling

unread,
Aug 14, 2015, 5:03:00 PM8/14/15
to Jeremiah Moore, Jamey Scott, soundmi...@googlegroups.com
Try another way:

-Delete the Scripts folder and go to the hammer and tongs tool.
Use ‚Install Scripts‘ and follow the instructions.
Then restart V4 pro.
It should work on any V4.5 system after build 100 or so.
If it’s not working, I think we have to wait for JD’s replay.

Guido



<Bildschirmfoto 2015-08-14 um 22.14.39.png>

cheers

Guido


Jamey Scott

unread,
Aug 14, 2015, 5:06:47 PM8/14/15
to Guido Helbling, Jeremiah Moore, soundmi...@googlegroups.com
Yeah, I got it to work. 
What's weird is when I try to import my apple lossless .m4a files, SM isn't responding. Did they recently drop support for .m4a?

Jeremiah Moore

unread,
Aug 14, 2015, 5:18:21 PM8/14/15
to Jamey Scott, Guido Helbling, soundmi...@googlegroups.com
Worked!  Thanks!

-jeremiah

Guido Helbling

unread,
Aug 14, 2015, 5:23:48 PM8/14/15
to Jeremiah Moore, Jamey Scott, soundmi...@googlegroups.com
Cool!

And come on over to the http://codedestructor.com/ forum. All the infos are there.
And in case if you come to Amsterdam to IBC in September, meet Steve and me at the Soundminer Booth Hall 2, Booth A41c and have a coffee with us.

cheers

Guido

steve pecile

unread,
Aug 14, 2015, 5:30:06 PM8/14/15
to iocom...@gmail.com, Guido Helbling, Jeremiah Moore, soundmi...@googlegroups.com
.m4a are working for me.

Are they encrypted?

BTW, with v165 or higher you can drop a lua script onto the SM browser and it will add it to the script engine list.

Jeremiah Moore

unread,
Aug 14, 2015, 5:44:20 PM8/14/15
to Steve Pecile, Jamey Scott, Guido Helbling, soundmi...@googlegroups.com
Rad.  

wonder if the Lua hooks are documented?  

Cheers, thx for the help.  Great stuff.

-jeremiah

steve pecile

unread,
Aug 14, 2015, 5:46:21 PM8/14/15
to Jeremiah Moore, Jamey Scott, Guido Helbling, soundmi...@googlegroups.com
please go to

JD documents these things in each new posting.
He does not visit this site with any regularity.

steve
Reply all
Reply to author
Forward
0 new messages