From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marcelo de Moraes Serpa Subject: Re: Backuping org with git, cron and Dropbox Date: Mon, 2 May 2011 16:12:41 -0500 Message-ID: References: <4DBEE6D1.5010108@theocrite.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([140.186.70.92]:56357) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QH0QA-00031G-0Z for emacs-orgmode@gnu.org; Mon, 02 May 2011 17:12:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QH0Q7-00051h-LP for emacs-orgmode@gnu.org; Mon, 02 May 2011 17:12:45 -0400 Received: from mail-bw0-f52.google.com ([209.85.214.52]:55787) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QH0Q7-00051c-6K for emacs-orgmode@gnu.org; Mon, 02 May 2011 17:12:43 -0400 Received: by bwj24 with SMTP id 24so8431187bwj.39 for ; Mon, 02 May 2011 14:12:42 -0700 (PDT) In-Reply-To: <4DBEE6D1.5010108@theocrite.org> 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: theo Cc: Org Mode 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 wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hello, > > > On 01/05/2011 07:36, Marcelo de Moraes Serpa wrote: >> >> =A0 1 DAYW=3D$(date | cut -d" " -f 1) >> =A0 2 NOW=3D$(date +"%d-%m-%Y-%r") >> =A0 [...] >> =A0 6 git commit -a -m "$DAYW-$NOW" > > Could be shorten : > =A0 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=3D > =3DGQrM > -----END PGP SIGNATURE----- > > -- > This message has been scanned for viruses and > dangerous content by MailScanner, and is > believed to be clean. > >