Hiya,
I want to list all files missing a certain pattern and/or filename pattern on the entire drive.
In DOS I would type (for instance):
dir \t*.doc /s /a
which should find all doc files whose filename starts with `t'.
How to I do that in a unix shell. Can it be done w/ ls at all? I don't seem to succeed, and yes, I've read the man pages, but either I don't understand them correctly or it's not doing what it's supposed to do. For instance: I've tried: ls -AFR com.* from root dir, and it doesn't find stuff in subfolders.
(Ok, you got me, I'm a unix newbie.)
uses:
Mac OS X
tcsh
I'm looking for a solution that would work with most shells, sh, csh, tcsh, bash, you name it.
Also, the man pages frequently mention I can press tab or esc x 2 for choice/filename/dirname completion, but that doesn't seem to work on my (default Mac OS X terminal) tcsh either?
cheers,
the rop
I want to list all files missing a certain pattern and/or filename pattern on the entire drive.
In DOS I would type (for instance):
dir \t*.doc /s /a
which should find all doc files whose filename starts with `t'.
How to I do that in a unix shell. Can it be done w/ ls at all? I don't seem to succeed, and yes, I've read the man pages, but either I don't understand them correctly or it's not doing what it's supposed to do. For instance: I've tried: ls -AFR com.* from root dir, and it doesn't find stuff in subfolders.
(Ok, you got me, I'm a unix newbie.)
uses:
Mac OS X
tcsh
I'm looking for a solution that would work with most shells, sh, csh, tcsh, bash, you name it.
Also, the man pages frequently mention I can press tab or esc x 2 for choice/filename/dirname completion, but that doesn't seem to work on my (default Mac OS X terminal) tcsh either?
cheers,
the rop