[SunHELP] moving directories

Peter L. Wargo sunhelp at sunhelp.org
Thu Nov 30 12:37:40 CST 2000


> I know I've seen some tar or cpio commands with some piping that would 
> work.  Since I'm not that proficient, I usually tar up the old directory to 
> a file and untar it to the new directory.  That works fine if you've got 
> the drive space.

I used to use ufsdump to move user dirs around.  I believe it went like:

ufsdump 0f - <dir> | (cd <target>; ufsrestore rf -)

Of course, it only works on local filesystems...

Also, the tar manpage has some good ideas...

_pete





More information about the SunHELP mailing list