Re: Bash globbing files only?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 2007-01-29 at 14:38 -0800, Rick Stevens wrote:

> Uh, how about "find . -maxdepth 1 -type f -print" to list the files and
> "find . -maxdepth 1 -type d -print" for directories?  Take out the
> "-maxdepth 1" and it'll walk the directory tree.
> 
> Nah, too prosaic!

Next you'll be telling me that "cat foo | grep bar" is redundant!

-- Evan Klitzke


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux