emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Marcelo de Moraes Serpa <celoserpa@gmail.com>
To: theo <theocrite@theocrite.org>
Cc: Org Mode <emacs-orgmode@gnu.org>
Subject: Re: Backuping org with git, cron and Dropbox
Date: Mon, 2 May 2011 16:12:41 -0500	[thread overview]
Message-ID: <BANLkTi=vuYXsQ4ov_CQKkpHnfDDL11tyzw@mail.gmail.com> (raw)
In-Reply-To: <4DBEE6D1.5010108@theocrite.org>

Hi Theo,

Thanks for the tip. I don't really program in bash, so that was a
useful tip. I'll start getting into it more, as it's a simple and
powerful way to solve problems, and it's available almost everywhere
you have a POSIX OS :)

Cheers,

Marcelo.

On Mon, May 2, 2011 at 12:16 PM, theo <theocrite@theocrite.org> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hello,
>
>
> On 01/05/2011 07:36, Marcelo de Moraes Serpa wrote:
>>
>>   1 DAYW=$(date | cut -d" " -f 1)
>>   2 NOW=$(date +"%d-%m-%Y-%r")
>>   [...]
>>   6 git commit -a -m "$DAYW-$NOW"
>
> Could be shorten :
>   6 git commit -a -m "$(date +'%A-%F-%T')"
>
> - --
> Freeely,
> theo
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.11 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>
> iQEcBAEBAgAGBQJNvubRAAoJECkgngj8k9Tvn+UH/1wv5z7Z5sLjBMuxERkZlSsi
> 8yPGbRyg6TgVXUjNAseOSoDeYPfj83cz+DF1mX7A9xz1GPfW+M38lWyNR2ALFL75
> 0/V5X40Yz9RuLb06CoilVH7xUu7SEbTHbSEjjwnZIj6WeKAhalucWR0L0ZoWbE5K
> 54lxfrzm+VcVZI3eD1AuROjoEgf+OZFc24qFqEepeH6cVydUEuRnNXVVfIxq7XDN
> IyF1wXkmqvWgX9FKuRY4XNM62z4UZBDj/Pwvt/vhJA64tK43d8By6N/vmwQJu3a+
> iS0+xLPV2ud5t7bQ8Cz1nxQJ4lsBwBfJhQhIIfbWBeq+tULE5Fo+w/iixQn8UI8=
> =GQrM
> -----END PGP SIGNATURE-----
>
> --
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
>
>

      reply	other threads:[~2011-05-02 21:12 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-01  5:29 Backuping org with git, cron and Dropbox Marcelo de Moraes Serpa
2011-05-01  5:36 ` Marcelo de Moraes Serpa
2011-05-01 11:31   ` Bernt Hansen
2011-05-01 19:09     ` Marcelo de Moraes Serpa
2011-05-02 17:16   ` theo
2011-05-02 21:12     ` Marcelo de Moraes Serpa [this message]

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='BANLkTi=vuYXsQ4ov_CQKkpHnfDDL11tyzw@mail.gmail.com' \
    --to=celoserpa@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=theocrite@theocrite.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).