From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Maus Subject: Re: Problem publishing symbolic links Date: Sun, 19 Dec 2010 18:35:12 +0100 Message-ID: <8739ptr7hr.wl%dmaus@ictsoc.de> References: <20101211005316.GA20140@dimension8.tehua.net> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: multipart/mixed; boundary="===============0144440520==" Return-path: Received: from [140.186.70.92] (port=47880 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PUNAY-0006Xc-1j for emacs-orgmode@gnu.org; Sun, 19 Dec 2010 12:35:39 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PUNAW-0002A7-N4 for emacs-orgmode@gnu.org; Sun, 19 Dec 2010 12:35:37 -0500 Received: from mailout110.xlhost.de ([213.202.242.110]:59210 helo=mysql1.xlhost.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PUNAW-00029q-HJ for emacs-orgmode@gnu.org; Sun, 19 Dec 2010 12:35:36 -0500 In-Reply-To: <20101211005316.GA20140@dimension8.tehua.net> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Aidan Gauland Cc: emacs-orgmode@gnu.org --===============0144440520== Content-Type: multipart/signed; boundary="pgp-sign-Multipart_Sun_Dec_19_18:35:12_2010-1"; micalg=pgp-sha256; protocol="application/pgp-signature" Content-Transfer-Encoding: 7bit --pgp-sign-Multipart_Sun_Dec_19_18:35:12_2010-1 Content-Type: text/plain; charset=US-ASCII At Sat, 11 Dec 2010 13:53:17 +1300, Aidan Gauland wrote: > > [1 ] > [1.1 ] > Hi, > > I am using Org-mode to run my website, and I have symbolic links to > files elsewhere in my home directory (which are dereferenced when > published). When I org-publish the project, it doesn't re-publish the > symbolic links even if the target has changed. > > Any idea what I could do to avoid manually copying the files that > org-publish should be publishing? Org checks the file modification time to determine whether to republish a file or not. Due to the nature of /sym/links their modification date does not change if the directory entry they are pointing to changes. Maybe you could use hard links instead of symlinks if the files you are linking exist on the same hard disk partition. If this is not the case maybe using a command line tool that syncs the directories (e.g. rsync) could be an option (Cf. Manual, 13.1.2 Sources and destinations for files). HTH, -- David -- OpenPGP... 0x99ADB83B5A4478E6 Jabber.... dmjena@jabber.org Email..... dmaus@ictsoc.de --pgp-sign-Multipart_Sun_Dec_19_18:35:12_2010-1 Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iF4EABEIAAYFAk0OQlAACgkQma24O1pEeOaedwD6A4e8yHvnyKUHsaZCPRfRLjy9 9IEcH/k/tYF1EyxgOrwA/2Pjc6IJHQ9SwQmKBYZJr8v01Bv9OUcuiS/mWI9AEAWd =zN0e -----END PGP SIGNATURE----- --pgp-sign-Multipart_Sun_Dec_19_18:35:12_2010-1-- --===============0144440520== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode --===============0144440520==--