<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Dec 18, 2013 at 1:37 PM, Paulo da Silva <span dir="ltr"><<a href="mailto:p_s_d_a_s_i_l_v_a@netcabo.pt" target="_blank">p_s_d_a_s_i_l_v_a@netcabo.pt</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi!<br>
<br>
Is there a way to copy a file the same as Unix command:<br>
<br>
cp -a --reflink src dest<br>
<br>
without invoking a shell command?<br>
<br>
Thanks<br>
<span class=""><font color="#888888">--<br>
<a href="https://mail.python.org/mailman/listinfo/python-list" target="_blank">https://mail.python.org/mailman/listinfo/python-list</a><br>
</font></span></blockquote></div><br></div><div class="gmail_extra">You want to make a symlink to a file ini python.  I think this might get you there:<br><br><a href="http://stackoverflow.com/questions/4847615/copying-a-symbolic-link-in-python">http://stackoverflow.com/questions/4847615/copying-a-symbolic-link-in-python</a><br>
</div><div class="gmail_extra"><br clear="all"><br>-- <br><div dir="ltr"><div>Joel Goldstick<br></div><a href="http://joelgoldstick.com" target="_blank">http://joelgoldstick.com</a><br></div>
</div></div>