[csw-maintainers] Migrating config files from /opt/csw/etc to /etc/opt/csw during package update

Maciej (Matchek) Blizinski maciej at opencsw.org
Mon Nov 2 15:05:26 CET 2009


On Tue, Oct 27, 2009 at 9:28 AM, Dagobert Michelsen <dam at opencsw.org> wrote:
> In addition to migrating single files is there the possibility to migrate
> complete directories? Like
>  /opt/csw/var/postgresql/  to  /var/opt/csw/posgresql/ ?

Yes, it is possible.  For copying directories, tar is being used, to
preserve the whole tree structure that's being copied.  Files and
directories can be specified the same way; you don't have to say which
one is a file and which one is a directory.

Maciej



More information about the maintainers mailing list