Re: find

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

 



On 06/07/2004 07:56:25 AM, Andy Green wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Monday 07 June 2004 12:35, Chadley Wilson wrote:
> On Mon, 2004-06-07 at 13:27, Chadley Wilson wrote:

> Ah HA!!
> I am genius! no really I am,

This is still possible.

> ok the correct syntax is to use back ticks found on your tilde key,
>
> Like this
> find /in/this/dir/ `(fileinbrackets)*`
> tadah!

Those backticks make the shell interpret what's inside them as a
command and
returns the result to the find commandline.  So I guess if it is
working it
is expanding the * thereby and returning the individual filenames.
Will this
still work if the cwd is not /in/this/dir?  I think not.

Use double quotes:

find / -name "(file)*" -print

Steve



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

  Powered by Linux