ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Andrew Nazarkin <alting@mail.ru>
To: Michael Shigorin <mandrake-russian@altlinux.ru>
Subject: Re[2]: [mdk-re] FILES -> man find ;)
Date: Mon Dec 24 21:00:12 2001
Message-ID: <7127084565.20011224210311@mail.ru> (raw)
In-Reply-To: <20011224191129.D1642@lic145.kiev.ua>

Здравствуйте, Michael.

Вы писали 24 декабря 2001 г., 20:11:29:

MS> On Mon, Dec 24, 2001 at 07:22:31PM +0300, Andrew Nazarkin wrote:
>>  find /samba-3/kino/ -name *.avi -type f -atime 1
>>  1. Чтобы он искал по маске не только *.avi, но и *.mpg, *.mov и т.п.
>>     Другими словами, как несколько масок задать?
MS> man find
MS> /-o
MS> -name '...' -o -name '...' ...

>>  2. Чтобы он мне выдавал файлы, которые НЕ использовались за какой-то
>>      определенный срок?
MS> man find
MS> /\+n
MS> -atime +30

>>  3. Как задать несколько каталогов, в которых он все это добро будет
>>     искать?
MS> man find
MS> /paths
MS> find /dir1 /dir2 ...

>>     Сорри, но find я до этого не разу не юзал, чайник я в нем, в общем
>>     :)
MS> Да все не так страшно, просто man длинный :)


Все прикольно получилось, но когда даешь ему строчку, вроде этой:
find /samba-3/kino/ /samba-2/Приколы/ /samba-2/Мультфильмы/ -name
'*.avi' -o -name '*.swf' -o -name '*.dat' -o -name '*.mov' -o -name
'*.mpg' -o -name '*.qt' -type f -atime +30

Он, похоже на atime не эрегирует :( Плюет он на нее :(

В чем собака порылась?

-- 
С уважением,
  Alting                         mailto:alting@mail.ru




  reply	other threads:[~2001-12-24 21:00 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-12-24 19:19 [mdk-re] FILES Andrew Nazarkin
2001-12-24 20:20 ` [mdk-re] FILES -> man find ;) Michael Shigorin
2001-12-24 21:00   ` Andrew Nazarkin [this message]
2001-12-24 22:10     ` Michael Shigorin
2001-12-26  2:46       ` [mdk-re] " Mikhail Zabaluev
2001-12-25 11:24   ` [mdk-re] " Artem K. Jouravsky

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=7127084565.20011224210311@mail.ru \
    --to=alting@mail.ru \
    --cc=mandrake-russian@altlinux.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