Skip to content
Discussion options

You must be logged in to vote

yea should be fine. You can add a WHERE (not really necessary)

UPDATE galleries SET path = replace(path, '/run/media/user/Z/Stash', '/run/media/user/X/stash' ) WHERE path LIKE '/run/media/user/Z/Stash/%' 

edit: well you added the where part in your edit. (but the WHERE is incorrect in your code, WERE -> WHERE)

Replies: 4 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@ALonelyJuicebox
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #2517 on April 18, 2022 03:43.