From mboxrd@z Thu Jan 1 00:00:00 1970 From: zhenjiang zech xu Subject: copying files in the links while exporting to html Date: Mon, 2 Jun 2014 17:23:23 -0600 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=bcaec51b1aa9df527804fae2b04f Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:35375) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WrbaK-0001o9-Mz for emacs-orgmode@gnu.org; Mon, 02 Jun 2014 19:24:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WrbaG-0008GJ-Ls for emacs-orgmode@gnu.org; Mon, 02 Jun 2014 19:24:08 -0400 Received: from mail-ve0-x236.google.com ([2607:f8b0:400c:c01::236]:43798) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WrbaG-0008G6-Gk for emacs-orgmode@gnu.org; Mon, 02 Jun 2014 19:24:04 -0400 Received: by mail-ve0-f182.google.com with SMTP id sa20so6001640veb.41 for ; Mon, 02 Jun 2014 16:24:03 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org --bcaec51b1aa9df527804fae2b04f Content-Type: text/plain; charset=UTF-8 Hi orgmoders, Is there any existing function to copy files in the external links to a specified location when exporting .org file to html? I know org-publish has functionality to copy files with certain suffices on defined project, but my need is to export single file or single subtree in the buffer. For example, when I export the following subtree, it would be lovely to copy the spam.png to the path I set up. * foo [[file:spam.png]] If there is no function ready to do that, what is the easiest easy to implement it? any point to the right direction is appreciated. Thanks, Zhenjiang --bcaec51b1aa9df527804fae2b04f Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi orgmoders,

I= s there any existing function to copy files in the external links to a spec= ified location when exporting .org file to html? I know org-publish has fun= ctionality to copy files with certain suffices on defined project, but my n= eed is to export single file or single subtree in the buffer.

For example, when I export the following subtree, it would b= e lovely to copy the spam.png to the path I set up.
* foo
=C2=A0 [[file:spam.png]]

If there is no function ready to do that, what is the easie= st easy to implement it? any point to the right direction is appreciated.
Thanks,
Zhenjiang
--bcaec51b1aa9df527804fae2b04f--