On 01/11/2013 01:39 PM, Mauro Carvalho Chehab wrote:
> tgz:
>       git archive --format tgz HEAD >dtv-scan-files-`date 
> +"%Y%m%d.%H:%M"`.tar.gz

Better to use the top commit date:
git log -n1 --date=short --pretty=format:%ad

You won't generate a snapshot every day with the same contents then.

or %ad-g%p if you want also a short commit id in there.

-- 
js
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to