emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: David Maus <dmaus@ictsoc.de>
To: Aidan Gauland <aidalgol@no8wireless.co.nz>
Cc: emacs-orgmode@gnu.org
Subject: Re: Problem publishing symbolic links
Date: Sun, 19 Dec 2010 18:35:12 +0100	[thread overview]
Message-ID: <8739ptr7hr.wl%dmaus@ictsoc.de> (raw)
In-Reply-To: <20101211005316.GA20140@dimension8.tehua.net>


[-- Attachment #1.1: Type: text/plain, Size: 1118 bytes --]

At Sat, 11 Dec 2010 13:53:17 +1300,
Aidan Gauland wrote:
>
> [1  <multipart/signed (7bit)>]
> [1.1  <text/plain; us-ascii (7bit)>]
> 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

[-- Attachment #1.2: Type: application/pgp-signature, Size: 230 bytes --]

[-- Attachment #2: Type: text/plain, Size: 201 bytes --]

_______________________________________________
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

  reply	other threads:[~2010-12-19 17:35 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-11  0:53 Problem publishing symbolic links Aidan Gauland
2010-12-19 17:35 ` David Maus [this message]
2010-12-20  1:11   ` Bug?: " Aidan Gauland
2011-01-06 19:26     ` David Maus

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8739ptr7hr.wl%dmaus@ictsoc.de \
    --to=dmaus@ictsoc.de \
    --cc=aidalgol@no8wireless.co.nz \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).