ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "Vladimir Motov" <vlm@tebuk.parma.ru>
To: <mandrake-russian@linuxteam.iplabs.ru>
Subject: [mdk-re] Re: [mdk-re]  имя файла
Date: Wed Mar 21 19:55:01 2001
Message-ID: <000d01c0b228$7efa6930$1680a8c0@tebuk.ru> (raw)
In-Reply-To: <OF122F1BBD.7811CD1B-ONC6256A16.00570CEE@novosoft.ru>


>
> 03/21/2001 09:18:13 PM mandrake-russian-admin wrote:
> >Здравствуёте.
> >Периодически создаются файлы exp.dmp, я их  сжимаю gzip-ом, можно ли в
> имени
> >выходного файла для gzip иметь текущую  дату в читабельном формате
> >20000321.dmp.gz. И вообще для любой операции с  файлами: cp, mv получать
> такое
> >имя.
> конечно. - что-нибудь типа fname=`date +'mx-cart-%m.%d-%H.%M.tgz'`
> а вообще, man date
Спасибо.
Как бы это ещё в команду вставить.
Типа gzip exp.dmp fname=`date +'mx-cart-%m.%d-%H.%M.tgz'`





  reply	other threads:[~2001-03-21 19:55 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-03-21 18:49 denf
2001-03-21 19:55 ` Vladimir Motov [this message]
2001-03-21 22:01   ` [mdk-re] Re: [mdk-re] " Alexey Voinov
2001-03-21 22:30     ` Vladimir Motov
2001-03-22  1:24       ` Mikhail Zabaluev
2001-03-22 10:08     ` Vladimir Motov

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='000d01c0b228$7efa6930$1680a8c0@tebuk.ru' \
    --to=vlm@tebuk.parma.ru \
    --cc=mandrake-russian@linuxteam.iplabs.ru \
    /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

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git