[SunHELP] moving directories
Edward Chase
sunhelp at sunhelp.org
Thu Nov 30 11:50:00 CST 2000
mv olddir newdir
Although now that I'm thinking about it, this may only work if they are in
the same filesystem.
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.
Oh, one gotcha here as well... I believe it was Solaris 2.6 I got bit with
once. Tar'ing as root would not preserve ownership (or was it mv?) I
found a patch for that however...
At 12:23 PM 11/30/2000 -0500, robert.fuerst at sylvania.com wrote:
>OK - how do I move an entire directory to a new name?
>
>Thanks,
>1st
>_______________________________________________
>SunHELP maillist - SunHELP at sunhelp.org
>http://www.sunhelp.org/mailman/listinfo/sunhelp
---------------------------------------------------------------
Edward F. Chase III | echase at providence.edu
Providence College | http://www.providence.edu
Computer Services | http://studentweb.providence.edu
Providence, RI 02918 |
More information about the SunHELP
mailing list