Created
April 28, 2018 15:14
-
-
Save bserem/40f2021ace59255b586bde04264061fd to your computer and use it in GitHub Desktop.
Change paths of files in MIXXX sqlite dabatase
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
*Looks for directory *750GB* in the path and removes it for paths. | |
* Based on that you can do any replacements. | |
*/ | |
UPDATE track_locations | |
SET location = replace (location, '750GB/', '') | |
where | |
location LIKE '%750G%'; | |
UPDATE track_locations | |
SET directory = replace (directory, '750GB/', '') | |
where | |
directory LIKE '%750G%'; | |
UPDATE directories | |
SET directory = replace (directory, '750GB/', '') | |
where | |
directory LIKE '%750G%'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment