Moving users (How to move user directory from 1 file system to another in the same server) ?

From: Tony Magtalas (ttk67@yahoo.com)
Date: Fri Mar 10 2006 - 15:49:36 EST


Sun Managers:
I got a project to clean up file systems in a number
of servers, and have a need to move a number of
sub-dir
(user home dirs) from 1 file system to another file
system in the same server. The file time stamps and
file ownership need to stay the same.

I am planning to try something like:

# tar cvf /home1/user1; (cd /home2/user1; tar xf - )

and remove /home1/user1 later (a few weeks later)

Is there any Solaris Unix script out there that
perform
this kind of operation faster/more efficiently? I am
talking about moving gigabytes of files from 1 mount
point to another in a Solaris server.

Wouldn't the good ole Unix "mv" command be sufficient?
ie: # mv /home1/user1 /home2

Thanks
TM (Move Team)
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:39:16 EDT