The xrdcp -R is actually broken as designed. We all agree that this is incorrect behavior. You can always use the Posix preload library with "cp -r" as long as the source directory is not in xrootd. That should work. Andy -----Original Message----- From: Yang, Wei Sent: Monday, April 25, 2011 12:14 PM To: Paul T. Keener Cc: xrootd-l Subject: Re: Directory tree copy xrdcp -R should to work. I will leave others to answer why it isn't. Another method is to mount your xrootd storage as a file system on your client, using xrootdfs. Then you can use cp -r, etc. regards, Wei Yang | [log in to unmask] | 650-926-3338(O) On Apr 25, 2011, at 11:03 AM, Paul T. Keener wrote: > It is possible to copy a directory tree into xrootd that doesn't flatten > the structure without using xrootdfs? I am looking for the equivalent > of "cp -r" or "scp -r". "xrdcp -R", in all combinations I tried, > flattens the directory tree into a single directory. > > Thanks. > > Paul T. Keener > Department of Physics and Astronomy > University of Pennsylvania