ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "nezhil" <nezhil@yandex.ru>
To: community@lists.altlinux.org
Subject: Re: [Comm] Рекурсивное изменение времени файлов/каталогов...
Date: Fri, 10 Feb 2006 12:33:26 +0300 (MSK)
Message-ID: <43EC5DE6.000005.05840@soapbox.yandex.ru> (raw)
In-Reply-To: <E1F7SQR-000KeA-00.vikerness-mail-ru@f9.mail.ru>

>> Чем и как изменить/задать время/дату всем
>> каталогам   и   файлам   в одном заданном
>> каталоге?     Запускать     touch      -t
>> YYYYMMDDHHMM.SS *   в  каждом подкаталоге
>> стрёмно  -  загнуться  можно, а запустить
>> touch       -R     -t     YYYYMMDDHHMM.SS
>> SomeDirectory   нельзя  - опции -R, столь
>> упрощающей   эту   неблагодарную  работу,
>> присутствующей в таких утилитах как chmod
>> и/или chown, увы, нету.
>
>find /dir | xargs что_вам_надо
Я находясь в /home/user/Documents/test
запустил:
find /tes | xargs touch -t 198001010000.00 *
tes - это каталог в
/home/user/Documents/test, содержащий
множество подкаталогов и файлов (для тестинга
способов изменения даты/времени). Увы, ничего
не получилось - дата и время не были
присвоены файлам и подкаталогам.


  reply	other threads:[~2006-02-10  9:33 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-02-09 17:22 nezhil
2006-02-09 18:14 ` Andrey Rahmatullin
2006-02-10  7:10 ` Michael Isachenkov
2006-02-10  9:33   ` nezhil [this message]
2006-02-10 10:03     ` Andrew Borodin
2006-02-10 11:50       ` nezhil
2006-02-10 13:04         ` Re[2]: " Maksim Otstavnov
2006-02-10 15:08       ` ABATAPA
2006-02-10 11:14     ` ABATAPA
2006-02-10 13:54       ` nezhil
2006-02-10 23:21       ` Andrey Rahmatullin
2006-02-11 13:30         ` [Comm] help install wine frop srpm - problema s zavisimostyami Mikhail Kuligin
2006-02-11 13:37           ` Andrey Rahmatullin

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=43EC5DE6.000005.05840@soapbox.yandex.ru \
    --to=nezhil@yandex.ru \
    --cc=community@lists.altlinux.org \
    /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