Print

Print


Hi Stephan,

It looks like you just want to do a local copy (i.e. from one disk to 
another). If so, xrdcp is not appropriate for this. Your best bet is 
either cp (which you would invoke one ay a time but should be fast).

Andy

On Wed, 13 Dec 2017, Stephan Zimmer wrote:

> Dear XrootD˙˙lers,
> i˙˙m trying to use the xrdcp command using the infiles argument˙˙ but i˙˙m completely lost˙˙
> suppose I have a list of files from a server, and it˙˙s absolute path (excl. the server / root-shebang) is stored in ˙˙files_to_copy˙˙, can I trigger some sort of intelligent copy? If so, how does that work˙˙ I can˙˙t find much documentation on the use of xrdcp ˙˙infiles˙˙ can you provide *any example?*?
>
> my alternative is to loop over the files_to_copy and run xrdcp on each file˙˙ but that seems silly and it˙˙s pretty slow...
>
> Specifically, I have stuff like this
>
> /path/dir1/file1
> /path/dir2/file2
> /path/dir3/file3
>
> etc.
>
> and that˙˙s supposed to go to
>
> $(pwd)/file1
> $(pwd)/file2
> $(pwd)/file3
>
> what˙˙s the most efficient way to do this?
>
> Thanks!
> -Stephan
>
> ˙˙
> Stephan Zimmer
> DPNC, University of Geneva
> 24 quai Ernest-Ansermet
> CH-1211 Genčve 4
>
> mobile: +41766133052
>
>
> ########################################################################
> Use REPLY-ALL to reply to list
>
> To unsubscribe from the XROOTD-L list, click the following link:
> https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=XROOTD-L&A=1
>

########################################################################
Use REPLY-ALL to reply to list

To unsubscribe from the XROOTD-L list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=XROOTD-L&A=1