Copy a file like unix cp -a --reflink

Joel Goldstick joel.goldstick at gmail.com
Wed Dec 18 20:19:47 CET 2013


On Wed, Dec 18, 2013 at 1:37 PM, Paulo da Silva <
p_s_d_a_s_i_l_v_a at netcabo.pt> wrote:

> Hi!
>
> Is there a way to copy a file the same as Unix command:
>
> cp -a --reflink src dest
>
> without invoking a shell command?
>
> Thanks
> --
> https://mail.python.org/mailman/listinfo/python-list
>

You want to make a symlink to a file ini python.  I think this might get
you there:

http://stackoverflow.com/questions/4847615/copying-a-symbolic-link-in-python


-- 
Joel Goldstick
http://joelgoldstick.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20131218/0658a0a5/attachment.html>


More information about the Python-list mailing list