ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] Переименование файлов в зависимости от даты создания
@ 2004-10-07 10:04 Artem Vakhitov
  2004-10-07 10:55 ` Anton V. Boyarshinov
  0 siblings, 1 reply; 3+ messages in thread
From: Artem Vakhitov @ 2004-10-07 10:04 UTC (permalink / raw)
  To: community

Друзья,

помогите, пожалуйста: нужно написать bash-скрипт, который бы присваивал 
бы файлам, созданным менее чем n дней назад (n -- аргумент скрипта), 
некоторое фиксированное расширение.

Как это сделать проше всего? (без perl и т. п., пожалуйста :-))

Regards,
Артем Вахитов


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Comm] Переименование файлов в зависимости от даты создания
  2004-10-07 10:04 [Comm] Переименование файлов в зависимости от даты создания Artem Vakhitov
@ 2004-10-07 10:55 ` Anton V. Boyarshinov
  2004-10-07 15:34   ` [OBORONA-SPAM] Re: [Comm] Переименованиефайлов " wortmann
  0 siblings, 1 reply; 3+ messages in thread
From: Anton V. Boyarshinov @ 2004-10-07 10:55 UTC (permalink / raw)
  To: community

On Thu, 07 Oct 2004 14:04:46 +0400 Artem Vakhitov
 wrote:

> помогите, пожалуйста: нужно написать bash-скрипт, который бы
> присваивал бы файлам, созданным менее чем n дней назад (n --
> аргумент скрипта), некоторое фиксированное расширение.
> 
> Как это сделать проше всего? (без perl и т. п., пожалуйста :-))

man find

-- 
mailto:boyarsh@mail.ru
mailto:boyarsh@ru.echo.fr
 14:52:01  up 68 days, 13:26,  9 users,  load average: 0.10,
0.06, 0.01


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [OBORONA-SPAM] Re: [Comm] Переименованиефайлов в зависимости от даты создания
  2004-10-07 10:55 ` Anton V. Boyarshinov
@ 2004-10-07 15:34   ` wortmann
  0 siblings, 0 replies; 3+ messages in thread
From: wortmann @ 2004-10-07 15:34 UTC (permalink / raw)
  To: community

В сообщении от 7 Октябрь 2004 14:55 Anton V. Boyarshinov написал(a):
> On Thu, 07 Oct 2004 14:04:46 +0400 Artem Vakhitov
>
>  wrote:
> > помогите, пожалуйста: нужно написать bash-скрипт, который бы
> > присваивал бы файлам, созданным менее чем n дней назад (n --
> > аргумент скрипта), некоторое фиксированное расширение.
> >
> > Как это сделать проше всего? (без perl и т. п., пожалуйста :-))
>
> man find

 я бы даже сказал:
man find /exec

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-10-07 15:34 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-10-07 10:04 [Comm] Переименование файлов в зависимости от даты создания Artem Vakhitov
2004-10-07 10:55 ` Anton V. Boyarshinov
2004-10-07 15:34   ` [OBORONA-SPAM] Re: [Comm] Переименованиефайлов " wortmann

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