Index

Subject : Re: LUG: How to copy full directory structure and only select

From : Edward Anderson <nilbus@nilbus.[redacted]>

Date : Thu, 05 Aug 2010 08:55:44 -0400

Parent


any number of preceding directories. Only works in zsh/bash4, like spiffy said.

On Thu, Aug 5, 2010 at 8:39 AM, Daniel Underwood < daniel.underwood@ncsu.[redacted] > wrote:
In the command

$  cp --parents **/file.dat ../stuff/

why use two asterisks?  Did you use two because of the particular
problem instance I put forward?  Or does two mean any number of
preceding directories?
--
Daniel Underwood
North Carolina State University
PhD Student - Industrial Engineering
email: daniel.underwood@ncsu.[redacted]
phone: XXX.302.3291
fax: XXX.515.5281
web: http://www4.ncsu.edu/~djunderw/