From: "Алексей Синицын" <asinitsinster@gmail.com> To: "ALT Linux Community" <community@lists.altlinux.org> Subject: [Comm] find Date: Mon, 18 Dec 2006 17:01:09 +0300 Message-ID: <a1b0b2150612180601y25525948n391f5a33caba923@mail.gmail.com> (raw) Доброго времени суток. Пытаюсь воспользоватся командой find. Интуитивно кажется очевидным, что запрос find *string* должен найти рекурсивно, от текущего каталога, файлы содержащие в названии string. Нашел даже пример в интернете говорящий то-же самое: -------------- Для выведения списка отобранных файлов на экран в общем случае предназначена опция -print. Вывод этот имеет примерно следующий вид: find . -name f* -print ./file1 ./file2 ./dir1/file3 -------------- http://www.oszone.net/3493/ -------------- Имею следующий результат: 16:53 al@wind tmp/lib/tmp $ find . ./1 ./1/ACKNOWLEDGEMENT ./1/ACKNOWLEDGEMENT/.dir ./1/ACKNOWLEDGEMENT/mgts_death.txt.gz ./1/ADAMS ./1/ADAMS/.dir ./1/ADAMS/ADAMS.dir ./1/ADAMS/adams1.jpg ./1/ADAMS/dayz1_.txt.gz ./1/ADAMS/dirk1.txt.gz ./1/ADAMS/dirk2.txt.gz ./1/ADAMS/gently_1.txt.gz ./1/ADAMS/gently_2.txt.gz ./1/ADAMS/hitch1.txt.gz ./1/ADAMS/hitch2.txt.gz ./1/ADAMS/hitch3.txt.gz ./1/ADAMS/hitch4.txt.gz ./1/ADAMS/hitch_1.txt.gz ./1/ADAMS/hitch_2.txt.gz ./1/ADAMS/hitch_3.txt.gz ./1/ADAMS/hitch_4.txt.gz ./1/ADAMS/hitch_5.txt.gz ./1/ADAMS/liff.txt.gz ./1/ADAMS/rhit1s.txt.gz ./1/ADAMS/rhit2.txt.gz ./1/ADAMS/hitch_1_ar.txt.gz ./1/ADAMS/copyright.txt.gz ./1/ADAMS/dayz1_rus.txt.gz ./1/ADAMS/hitch5.txt.gz ./1/ADAMS/rhit1.txt.gz 16:54 al@wind tmp/lib/tmp $ find *.gz zsh: no matches found: *.gz 16:54 al@wind tmp/lib/tmp $ find . -name *.gz -print zsh: no matches found: *.gz 16:57 al@wind tmp/lib/tmp $ Не подскажет-ли кто, что-же здесь не так?
next reply other threads:[~2006-12-18 14:01 UTC|newest] Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top 2006-12-18 14:01 Алексей Синицын [this message] 2006-12-18 15:12 ` Damir Shayhutdinov 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=a1b0b2150612180601y25525948n391f5a33caba923@mail.gmail.com \ --to=asinitsinster@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