Re: [OT] Recursive dir (linux)

new topic     » goto parent     » topic index » view thread      » older message » newer message

> Hi

> Anyone know of a quick way to recursively copy a directory tree under linux
> with filemasking.

> cp -R ~/euphoria/*.e* ~/tmpdir

> does not work, and only copies the top level.

> I will write a little routine if there is no solution, just didn't want to
> re invent the wheel.


Maybe you can try this (untested!):

cp `find ~/euphoria -iname '*.e*'` ~/tmpdir

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu