Print

Print


"-f" should allow to write over an existing file. This fails if the destination is a directory (which already contains that file), succeeds if the full path is given:

/tmp$ xrdcp -f file-1k.1 root://eospps//eos/geotest/wigner/1k/
xrdcp: Copy to lxbst2320.cern.ch failed on open!
xrdcp: Unable to create file /eos/geotest/wigner/1k; File exists
/tmp$ xrdcp -f file-1k.1 root://eospps//eos/geotest/wigner/1k/file-1k.1
[xrootd] Total 0.00 MB |====================| 100.00 % [inf MB/s]
/tmp$ rpm -qf which xrdcp
1:xrootd-client-3.3.3-1.slc6.x86_64

Suggest to also make the "directory destination" case work, i.e. overwrite the existing file.


Reply to this email directly or view it on GitHub.



Use REPLY-ALL to reply to list

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