|
|
ru.unix- RU.UNIX ---------------------------------------------------------------------- From : Dennis Melentyev 2:5020/400 19 May 2000 18:51:15 To : All Subject : Re: Re: HeLP!!!!!!!!!!! -------------------------------------------------------------------------------- On 19 May 2000 17:55:58 +0400, Vladimir Sharun wrote: >Vitaly E.Lavrov wrote in message "Re: HeLP!!!!!!!!!!!": > >>> Задача >>> В текущем каталоге найти все файлы с правом чтения и записи и вывести >>> все >>> это на экран, если нет сообщить о их отсутствии!!!! >>man find :) > >Во пристали с find'ом - он же рекурсивный: > >DESCRIPTION > Find recursively descends the directory tree for each pathname listed, > evaluating an expression (composed of the ``primaries'' and ``operands'' > listed below) in terms of each file in the tree. > >Hу или не нашел я в манах, как выключить рекурсию $man find: [skip] -maxdepth levels Descend at most levels (a non-negative integer) levels of directories below the command line argu- ments. `-maxdepth 0' means only apply the tests and actions to the command line arguments. Правда сразу оговорюсь, что это гнутый файнд из линукса. > >-- >WBR Vladimir Sharun >mailto:sharun@univest-group.com -- Dennis Melentyev C/C++ programmer @ Mebius-KB, Kiev, Ukraine dennis@mebius-kb.kiev.ua AKA Dennis_Melentyev@p111.f456.n463.z2.fido.net --- ifmail v.2.15dev5 * Origin: Mebius-KB (2:5020/400) Вернуться к списку тем, сортированных по: возрастание даты уменьшение даты тема автор
Архивное /ru.unix/1650518b040de.html, оценка из 5, голосов 10
|