home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / unix / admin / 6727 < prev    next >
Encoding:
Internet Message Format  |  1992-12-21  |  880 b 

  1. Path: sparky!uunet!portal!cup.portal.com!thad
  2. From: thad@cup.portal.com (Thad P Floryan)
  3. Newsgroups: comp.unix.admin
  4. Subject: Re: How to move a filesytem?
  5. Message-ID: <72008@cup.portal.com>
  6. Date: Fri, 18 Dec 92 23:45:20 PST
  7. Organization: The Portal System (TM)
  8. References: <BzFBx0.ECD@encore.com>
  9.   <Dec18.142941.14163@yuma.ACNS.ColoState.EDU>
  10. Lines: 17
  11.  
  12. In article <Dec18.142941.14163@yuma.ACNS.ColoState.EDU>
  13. dan@lamar.ColoState.EDU (Danilo Silva) writes:
  14.  
  15. |  [...]
  16. |  Copy the files without changing dates or permissions:
  17. |  
  18. |  # find . -print | cpio -pdum /users_new
  19. |  [...]
  20.  
  21. Uh, you might want to do the following instead:
  22.  
  23. find . -depth -print | cpio -pdum /users_new
  24.  
  25. I've moved 100's of filesystems this way with NO problems whatsoever, and
  26. the dates/times/perms on the directory file(s) are also correctly preserved.
  27.  
  28. Thad Floryan [ thad@btr.com, thad@cup.portal.com ]
  29.