Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 5 Sep 2011 11:32:05 -0400
From:      "joeb1" <joeb1@a1poweruser.com>
To:        "Questions@Freebsd. Org" <questions@freebsd.org>
Subject:   cpio command and schg flags
Message-ID:  <NBECLJEKGLBKHHFFANMBIEEOCPAA.joeb1@a1poweruser.com>

Next in thread | Raw E-Mail | Index | Archive | Help
I am trying to use this code sequence to clone a directory tree.
mkdir /usr/test1
cd /var
find . | cpio -dmp  /usr/test1

The result is  /usr/test1 gets populated with the directory tree but
all the schg flags get stripped off. 

How can I keep the schg flags in the cloned directory?




Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?NBECLJEKGLBKHHFFANMBIEEOCPAA.joeb1>