From mboxrd@z Thu Jan 1 00:00:00 1970 From: theo Subject: Re: Backuping org with git, cron and Dropbox Date: Mon, 02 May 2011 19:16:01 +0200 Message-ID: <4DBEE6D1.5010108@theocrite.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([140.186.70.92]:59124) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QGwjZ-00056C-IN for emacs-orgmode@gnu.org; Mon, 02 May 2011 13:16:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QGwjY-0006CG-Fg for emacs-orgmode@gnu.org; Mon, 02 May 2011 13:16:33 -0400 Received: from smtp-151-monday.nerim.net ([194.79.134.151]:29830 helo=maiev.nerim.net) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QGwjY-0006BP-AX for emacs-orgmode@gnu.org; Mon, 02 May 2011 13:16:32 -0400 In-Reply-To: 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: Marcelo de Moraes Serpa Cc: Org Mode -----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.