<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><HTML DIR=ltr><HEAD></HEAD><BODY>
<DIV id=idOWAReplyText62170 dir=ltr>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2></FONT> </DIV>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2>
<DIV class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><A 
href="mailto:brian.mccann@viziant.net"></A></SPAN></DIV><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">one thing I just noticed is that 
when I run the script I get a new symbolic link<BR>created in my current 
dir  TEST_HOME------>lib<BR>--Brian</SPAN></DIV></DIV>
<DIV id=idSignature29025 dir=ltr>
<DIV>
<DIV class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT size=3><FONT 
face="Times New Roman"> <?xml:namespace prefix = o ns = 
"urn:schemas-microsoft-com:office:office" 
/><o:p></o:p></FONT></FONT></DIV></FONT></DIV></DIV>
<DIV dir=ltr><BR>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> 
python-list-bounces+brian.mccann=viziant.net@python.org on behalf of Brian 
McCann<BR><B>Sent:</B> Wed 8/29/2007 2:40 PM<BR><B>To:</B> 
python-list@python.org<BR><B>Subject:</B> copying files <BR></FONT><BR></DIV>
<DIV dir=ltr>
<DIV id=idOWAReplyText99428 dir=ltr>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2>Hi,</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT> </DIV>
<DIV dir=ltr><FONT face=Arial size=2>with the code below I set a variable 
TEST_HOME to a path and the variable m to a path<BR>in my current dir. 
<BR>I have a symbolic link setting m---->lib<BR>when I run the script I get 
no errors and the lib dir with its 20 files does not get copied to 
/v01/test_home</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2>any help would be greatly 
appreciated</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT> </DIV>
<DIV dir=ltr><FONT face=Arial size=2>--Brian</FONT></DIV><FONT face=Arial 
size=2>
<DIV dir=ltr><BR>#!/usr/bin/python</DIV>
<DIV dir=ltr>import string<BR>import os<BR>import sys<BR>import errno<BR>import 
shutil<BR>import tarfile</DIV>
<DIV dir=ltr> </DIV>
<DIV dir=ltr>TEST_HOME = "/v01/test_home"</DIV>
<DIV dir=ltr>m = "./lib"</DIV>
<DIV dir=ltr>os.system("cp -r m TEST_HOME")<BR><BR></FONT></DIV>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2></FONT> </DIV></DIV>
<DIV id=idSignature63616 dir=ltr>
<DIV><FONT face=Arial color=#000000 size=2>
<DIV class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"></SPAN> </DIV>
<DIV class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT size=3><FONT 
face="Times New Roman"></FONT></FONT> </DIV></FONT></DIV></DIV></DIV></BODY></HTML>