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