Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #62332
| References | <l8sq0p$dd3$1@speranza.aioe.org> |
|---|---|
| Date | 2013-12-18 14:19 -0500 |
| Subject | Re: Copy a file like unix cp -a --reflink |
| From | Joel Goldstick <joel.goldstick@gmail.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.4376.1387394703.18130.python-list@python.org> (permalink) |
[Multipart message — attachments visible in raw view] - view raw
On Wed, Dec 18, 2013 at 1:37 PM, Paulo da Silva < p_s_d_a_s_i_l_v_a@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
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Copy a file like unix cp -a --reflink Paulo da Silva <p_s_d_a_s_i_l_v_a@netcabo.pt> - 2013-12-18 18:37 +0000 Re: Copy a file like unix cp -a --reflink Joel Goldstick <joel.goldstick@gmail.com> - 2013-12-18 14:19 -0500 Re: Copy a file like unix cp -a --reflink Jerry Hill <malaclypse2@gmail.com> - 2013-12-18 14:43 -0500 Re: Copy a file like unix cp -a --reflink Anssi Saari <as@sci.fi> - 2013-12-20 21:17 +0200
csiph-web