ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: SilverFox <SilverFox@rgantd.ru>
To: mandrake-russian@linuxteam.iplabs.ru
Subject: Re: [mdk-re] имя файла
Date: Fri Mar 23 22:47:01 2001
Message-ID: <3AB908DB.1030502@rgantd.ru> (raw)
Message-ID: <20010323224701.OuQdRKyeBDcn0xL8VjNFUN0SwXVuLpa_OZHAXAv5L0s@z> (raw)
In-Reply-To: <000d01c0b21a$25c05770$1680a8c0@tebuk.ru>

Vladimir Motov wrote:

> Здравствуёте.
> 
> Периодически создаются файлы exp.dmp, я их сжимаю gzip-ом, можно ли в 
> имени выходного файла для gzip иметь текущую дату в читабельном формате 
> 20000321.dmp.gz. И вообще для любой операции с файлами: cp, mv получать 
> такое имя.
> 
> Спасибо.
Да вот что-то такое в шелскрипт вставляю и по crontab  
  tar -czf"/home/sfox/"`date +%d-%m-%Y.%Hh.%Mm`".tgz" /var/log/*[a-z]

-- 
Анатолий Петрович Лисютин (AKA Silver Fox) ICQ:6647501
mailto:SilverFox@rgantd.ru  mailto:SilverFox@optics.npi.msu.su
РГАНТД Российский государственный архив научно-технической документации
http://rgantd.ru




       reply	other threads:[~2001-03-23 22:47 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-03-21 23:02 ` SilverFox [this message]
2001-03-22 10:12   ` cornet
2001-03-22 12:34     ` SilverFox
2001-03-22 10:14   ` [mdk-re] Re[2]: " Vladimir Karpinsky
2001-03-22 10:53     ` cornet
2001-03-24 20:38     ` Oleg N. Kayunov
2001-03-24 23:19       ` [mdk-re] Re[2]: [mdk-re] ÉÍÑ ÆÁÊÌÁ Owl
2001-03-24 23:30       ` [mdk-re] Re[2]: [mdk-re] имя файла Sergei
2001-03-25 10:32       ` [mdk-re] Re[2]: " Vladimir Karpinsky
2001-03-25 11:23       ` Vyt
2001-03-25 21:26         ` [mdk-re] Re: Re[2]: " Oleg N. Kayunov
2001-03-26 11:58           ` Vyt
2001-03-26 13:52           ` [mdk-re] " Vladimir Karpinsky
2001-03-26 23:03           ` Vladimir Karpinsky
2001-03-23 22:47   ` [mdk-re] " SilverFox
2001-03-24 15:13   ` SilverFox
2001-03-24 20:08 ` Oleg N. Kayunov

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=3AB908DB.1030502@rgantd.ru \
    --to=silverfox@rgantd.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