Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: Moving a Directory Across File Systems -- Unix
> kwikhak:
>
> <shut down oracle>
> cd $srcdir;
> ls -ld $destdir; # convince yourself it exists.
> find . | cpio -pdv $destdir;
> <eyeball the results, if it seems clean then
> fry $destdir and symlink the results back>.
I would use 'find . | cpio -pdlmv $destdir (note use of 'l' flag will make sure that linked files remain linked. Otherwise linked files may get physically copied, resulting in broken links...
John
-- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: John Kanagaraj INET: john.kanagaraj_at_hds.com Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Lists -------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).Received on Fri Aug 09 2002 - 20:03:23 CDT
![]() |
![]() |