home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!portal!cup.portal.com!thad
- From: thad@cup.portal.com (Thad P Floryan)
- Newsgroups: comp.unix.admin
- Subject: Re: How to move a filesytem?
- Message-ID: <72008@cup.portal.com>
- Date: Fri, 18 Dec 92 23:45:20 PST
- Organization: The Portal System (TM)
- References: <BzFBx0.ECD@encore.com>
- <Dec18.142941.14163@yuma.ACNS.ColoState.EDU>
- Lines: 17
-
- In article <Dec18.142941.14163@yuma.ACNS.ColoState.EDU>
- dan@lamar.ColoState.EDU (Danilo Silva) writes:
-
- | [...]
- | Copy the files without changing dates or permissions:
- |
- | # find . -print | cpio -pdum /users_new
- | [...]
-
- Uh, you might want to do the following instead:
-
- find . -depth -print | cpio -pdum /users_new
-
- I've moved 100's of filesystems this way with NO problems whatsoever, and
- the dates/times/perms on the directory file(s) are also correctly preserved.
-
- Thad Floryan [ thad@btr.com, thad@cup.portal.com ]
-