answered
2014-01-31 21:57:59 +0200
Thought I'd share...
Close the affected apps first.
For copy & paste:
for d in `find /home/nemo/.local/share/harbour-* -mindepth 1 -maxdepth 1 \! -newer /`; do dir=`dirname $d`; name=`basename $dir`; echo rm -rf $dir/$name; echo mkdir $dir/$name; echo mv $d $dir/$name/; done
Verify that it prints out the right things to do, for instance
rm -rf /home/nemo/.local/share/harbour-tidings/harbour-tidings
mkdir /home/nemo/.local/share/harbour-tidings/harbour-tidings
mv /home/nemo/.local/share/harbour-tidings/QML /home/nemo/.local/share/harbour-tidings/harbour-tidings/
rm -rf /home/nemo/.local/share/harbour-tinytodo/harbour-tinytodo
mkdir /home/nemo/.local/share/harbour-tinytodo/harbour-tinytodo
mv /home/nemo/.local/share/harbour-tinytodo/QML /home/nemo/.local/share/harbour-tinytodo/harbour-tinytodo/
rm -rf /home/nemo/.local/share/harbour-webcat/harbour-webcat
mkdir /home/nemo/.local/share/harbour-webcat/harbour-webcat
mv /home/nemo/.local/share/harbour-webcat/QML /home/nemo/.local/share/harbour-webcat/harbour-webcat/
rm -rf /home/nemo/.local/share/harbour-webcat/harbour-webcat
mkdir /home/nemo/.local/share/harbour-webcat/harbour-webcat
mv /home/nemo/.local/share/harbour-webcat/.QtWebKit /home/nemo/.local/share/harbour-webcat/harbour-webcat/
Then load the gun by removing the three "echo".
for d in `find /home/nemo/.local/share/harbour-* -mindepth 1 -maxdepth 1 \! -newer /`; do dir=`dirname $d`; name=`basename $dir`; rm -rf $dir/$name; mkdir $dir/$name; mv $d $dir/$name/; done
Anyway - when you have any important data, you need make backup before update. :)
Kaacz ( 2014-01-31 20:58:27 +0200 )editI'll mark this as closed as it is solved for me. Of course pycage was write when he commented in another question about this that a "solution" that requires developer mode isn't a real solution...
ossi1967 ( 2014-02-01 13:48:04 +0200 )editIs there any rationale why the path was changed in the first place?
foss4ever ( 2014-02-01 15:25:56 +0200 )editI read the reasons behind this change and I might understand that.
BUT you're applying this change to a phone in the hand of the users, Jolla should have provided a simple migration app from where I would select the apps for which migrate the data to the new path. How long does it take to write this, an hour maybe?
Nor this "change" has been mentioned in release notes, that is bad.
Jolla imho should improve to not disappoint enthusiast customers that are financially supporting the project.
Hopefully soon we'll see a settings migration app.
c.la ( 2014-02-04 09:57:45 +0200 )edit@thp Thanks for the script to migrate the settings. Maybe your Answer below could have been better place to post those links. That would then becone the most complete answer, and make this a HowTo-article.
foss4ever ( 2014-02-04 13:20:56 +0200 )edit