Change the path of images in the Shotwell database


up vote
1
down vote
favorite
I moved my picture library to a different folder, how can I change the path in the Shotwell database?
shotwell
add a comment |Â
up vote
1
down vote
favorite
I moved my picture library to a different folder, how can I change the path in the Shotwell database?
shotwell
add a comment |Â
up vote
1
down vote
favorite
up vote
1
down vote
favorite
I moved my picture library to a different folder, how can I change the path in the Shotwell database?
shotwell
I moved my picture library to a different folder, how can I change the path in the Shotwell database?
shotwell
edited May 2 at 21:47
asked Apr 21 at 16:28
Alex
2851427
2851427
add a comment |Â
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
1
down vote
Shotwell stores it's data in a SQLite database. You can change the path as follows:
- close Shotwell
- make a backup of
~/.local/share/shotwell/data
sqlite3 photo.db
type a command like this:
sqlite> update PhotoTable set filename = replace(filename, '/old/path/', '/home/me/new/path/') where filename like "/media/media%";
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
1
down vote
Shotwell stores it's data in a SQLite database. You can change the path as follows:
- close Shotwell
- make a backup of
~/.local/share/shotwell/data
sqlite3 photo.db
type a command like this:
sqlite> update PhotoTable set filename = replace(filename, '/old/path/', '/home/me/new/path/') where filename like "/media/media%";
add a comment |Â
up vote
1
down vote
Shotwell stores it's data in a SQLite database. You can change the path as follows:
- close Shotwell
- make a backup of
~/.local/share/shotwell/data
sqlite3 photo.db
type a command like this:
sqlite> update PhotoTable set filename = replace(filename, '/old/path/', '/home/me/new/path/') where filename like "/media/media%";
add a comment |Â
up vote
1
down vote
up vote
1
down vote
Shotwell stores it's data in a SQLite database. You can change the path as follows:
- close Shotwell
- make a backup of
~/.local/share/shotwell/data
sqlite3 photo.db
type a command like this:
sqlite> update PhotoTable set filename = replace(filename, '/old/path/', '/home/me/new/path/') where filename like "/media/media%";
Shotwell stores it's data in a SQLite database. You can change the path as follows:
- close Shotwell
- make a backup of
~/.local/share/shotwell/data
sqlite3 photo.db
type a command like this:
sqlite> update PhotoTable set filename = replace(filename, '/old/path/', '/home/me/new/path/') where filename like "/media/media%";
edited Apr 21 at 16:29


George Udosen
17k93559
17k93559
answered Apr 21 at 16:28
Alex
2851427
2851427
add a comment |Â
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1026987%2fchange-the-path-of-images-in-the-shotwell-database%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password