Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: Moving a Directory Across File Systems -- Unix
> I need to free about 600 MB of space on a Unix file system so that I can
> create an export dump file of a database. Our sys admin is out of the
> office and I am trying to move a directory (it contains sub-directories)
> across file systems. According to the manual I have, mvdir only works
> within a file system; and I cannot find a command to copy a directory. Is
> there a way to do this??
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>.
-- Steven Lembark 2930 W. Palmer Workhorse Computing Chicago, IL 60647 +1 800 762 1582 -- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: INET: lembark_at_wrkhors.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 - 19:43:18 CDT
![]() |
![]() |