I'm transferring CSDS from my desktop to my laptop. One the the things that happens is that all of my music files in the music database are still referred to as C:\sqdata\mp3??.. There used to be an easy way that I could change this to D: or any other drive that it might happen to be?
There are (at least) three ways to do this:
Method #1: Export the music database, edit it (to do a global replace), then import it.
- Go to 'Edit music database'.
- From the menu, select 'Tools | Export (dump database...)' and save it somewhere.
- Using a text editor (e.g., Notepad), do a global replace of 'C:\' to 'D:\', save the file, and exit the editor.
- Within 'Edit music database', from the menu, select 'Tools | Clear contents of database'. The program will ask you to confirm your selection (twice).
- From the menu, select 'Tools | Import from dump', and browse to the file.
Method #2: Use the 'Replace Folder Name' function of CSDS.
- Go to 'Edit music database'.
- From the menu, select 'Tools | File pathnames | Replace Folder Name'.
- The 'Replace Folder Name' dialog box appears.
- Set 'Old folder' to 'C:\' and set 'New folder to 'D:\'.
- Press the 'OK' button.
Method #3: Use relative pathnames instead of absolute pathnames.
- Go to 'Edit music database'
- From the menu, select 'Edit | Settings...'
- Go to the 'Folders' tab.
- For 'Music files', enter 'C:\<mf>' where <mf> is the old music folder.
- Close the 'Settings' dialog box.
- From the menu, select 'Tools | File pathnames | Convert to Relative'.
- Press the 'OK' button.
- From the menu, select 'Edit | Settings...'.
- Go to the 'Folders' tab.
- For 'Music files', enter 'D:\<mf>' where <mf> is the new music folder.
- Close the 'Settings' dialog box.
- Optionally, from the menu, select 'Tools | File pathnames | Convert to Absolute'.