Page 1 of 1

Updating from 0.8b4 - small tar problem

Posted: Thu Apr 28, 2005 12:18 pm
by Synchro
This is a silly little problem. The upgrade docs say 'unpack it to your existing folder'. How exactly? My serendipity installation folder is not called serendipity. I tar xvzf the archive and it extracts to a serendipity subfolder. I can't mv its contents into the original folder because mv is not clever enough to merge into existing dirs (even with -f). There doesn't seem to be a tar option to ignore the top level of relative directories on extraction.

For now I've worked around it by renaming my blog folder to serendipity, unpacking the archive over it, then renaming it back. This is not very elegant - I would imagine that the majority of users do not have it in a folder named serendipity, so how would you normally do this otherwise?

Re: Updating from 0.8b4 - small tar problem

Posted: Thu Apr 28, 2005 2:42 pm
by garvinhicking
You can do it with

Code: Select all

cp -r serendipity/* your_real_serendipity_dir/
and remove the duplicate of serendipty/* afterwards.

Regards
Garvin