From: "Damir Shayhutdinov" <lost404@gmail.com>
To: "ALT Linux Community" <community@lists.altlinux.org>
Subject: Re: [Comm] find
Date: Mon, 18 Dec 2006 18:12:53 +0300
Message-ID: <679044850612180712q47f92b14v5e0112bc4e7e7a1f@mail.gmail.com> (raw)
In-Reply-To: <a1b0b2150612180601y25525948n391f5a33caba923@mail.gmail.com>
> Пытаюсь воспользоватся командой find. Интуитивно кажется очевидным,
> что запрос find *string* должен найти рекурсивно, от текущего
> каталога, файлы содержащие в названии string.
Неа. Описанное действие делает только
find -name '*string*'
> Нашел даже пример в
> интернете говорящий то-же самое:
> --------------
> Для выведения списка отобранных файлов на экран в общем случае
> предназначена опция -print. Вывод этот имеет примерно следующий вид:
> find . -name f* -print
> ./file1
> ./file2
> ./dir1/file3
Пример врет. Как минимум, кавычки пропущены.
> 16:54 al@wind tmp/lib/tmp $ find *.gz
> zsh: no matches found: *.gz
find -name '*.gz'
> Не подскажет-ли кто, что-же здесь не так?
Пропущен параметр "-name", звездочки в имени не заэкранированы.
next prev parent reply other threads:[~2006-12-18 15:12 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-12-18 14:01 Алексей Синицын
2006-12-18 15:12 ` Damir Shayhutdinov [this message]
2006-12-18 15:14 ` Alexey Morsov
2006-12-18 15:15 ` Алексей Синицын
2006-12-18 15:21 ` Yura Kalinichenko
2006-12-18 15:30 ` Andrey Rahmatullin
2006-12-18 15:42 ` Maksim Otstavnov
2006-12-19 6:42 ` Алексей Синицын
2006-12-19 10:26 ` Vitaly Ostanin
2006-12-19 15:32 ` spider
2006-12-19 16:07 ` Алексей Синицын
2006-12-19 18:34 ` Pavel Usischev
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=679044850612180712q47f92b14v5e0112bc4e7e7a1f@mail.gmail.com \
--to=lost404@gmail.com \
--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