view move-if-change @ 105342:76e5f84f605f

2009-10-01 Carsten Dominik <carsten.dominik@gmail.com> * org.texi (Pushing to MobileOrg): Document `org-mobile-files'. (Processing LaTeX fragments): Document that the size of images can be changes using the variable `org-format-latex-options'. (The date/time prompt, Timestamps): Be more accurate over ISO format dates and times. (Visibility cycling): Document showeverything keyword. (In-buffer settings): Document showeverything keyword. (Setting up the staging area): Fix the example. (MobileOrg): New section. (Agenda commands, Exporting Agenda Views): Document exporting the agenda view to Org files.
author Carsten Dominik <dominik@science.uva.nl>
date Thu, 01 Oct 2009 08:03:02 +0000 (2009-10-01)
parents 354e0c45cedf
children 14a97ab281d5
line wrap: on
line source
#!/bin/sh
if
test -r $2
then
if
cmp $1 $2 > /dev/null
then
echo $2 is unchanged
rm -f $1
else
mv -f $1 $2
fi
else
mv -f $1 $2
fi