Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #62332
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!goblin3!goblin2!goblin.stu.neva.ru!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <joel.goldstick@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.005 |
| X-Spam-Evidence | '*H*': 0.99; '*S*': 0.00; 'python.': 0.02; 'subject:file': 0.07; 'cc:addr:python-list': 0.11; 'command:': 0.16; 'dest': 0.16; 'invoking': 0.16; 'paulo': 0.16; 'src': 0.16; 'symlink': 0.16; 'wrote:': 0.18; 'wed,': 0.18; 'pfxlen:0': 0.19; 'shell': 0.22; 'cc:addr:python.org': 0.22; 'subject:like': 0.24; 'cc:2**0': 0.24; 'header:In-Reply-To:1': 0.27; 'unix': 0.29; 'dec': 0.30; 'message-id:@mail.gmail.com': 0.30; 'url:mailman': 0.30; 'file': 0.32; 'url:python': 0.33; 'received:google.com': 0.35; 'there': 0.35; 'url:listinfo': 0.36; 'thanks': 0.36; 'url:org': 0.36; 'pm,': 0.38; 'url:mail': 0.40; 'joel': 0.91; '2013': 0.98 |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=75RnkaFJmWDg5p1M07fYfaHy69GySuVqPtUbzG+q4gs=; b=fegfWN0z9hZUou6U35Y7GIPhS63x7jQj44U3XPE8Rjrjt7Eh+3mWa8OjhNlKo0wMbM C2CA6fPYVs1LAy7b0d9W6/MkGRMXvYRcwVGjvP9GlC/8ihm5QNUrvDPv4AP1V10sPWvJ mQ/Stvm2rVQ/vSEAw5Pfq/sro7624yx0McQmiRQS++vobkLj+WHvOCgpDrprYul8nK9R GHzaIrGkJ3AJLDRoq4GdBdBOkgEohuLumraEhUagGbJ/LLvPCyayaViBT+LfOE4vbMAh Jone3azQ+8dPYTlqQIHxppWNQw4+lfgfxcYaK1slYgzN2+XiFFs5SsyJL+iPSXFeArbO Ci2Q== |
| MIME-Version | 1.0 |
| X-Received | by 10.52.190.131 with SMTP id gq3mr3328953vdc.18.1387394387350; Wed, 18 Dec 2013 11:19:47 -0800 (PST) |
| In-Reply-To | <l8sq0p$dd3$1@speranza.aioe.org> |
| References | <l8sq0p$dd3$1@speranza.aioe.org> |
| Date | Wed, 18 Dec 2013 14:19:47 -0500 |
| Subject | Re: Copy a file like unix cp -a --reflink |
| From | Joel Goldstick <joel.goldstick@gmail.com> |
| To | Paulo da Silva <p_s_d_a_s_i_l_v_a@netcabo.pt> |
| Content-Type | multipart/alternative; boundary=089e011846ee9f3c5304edd3edf7 |
| Cc | "python-list@python.org" <python-list@python.org> |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.15 |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list/> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.4376.1387394703.18130.python-list@python.org> (permalink) |
| Lines | 61 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1387394703 news.xs4all.nl 2926 [2001:888:2000:d::a6]:49102 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:62332 |
Show key headers only | View raw
[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