Print

Print


When running xrdfs with multiple stat commands, only the information about the last file is printed out. For example

$ xrdfs eosctaalice.cern.ch:1094 stat /castor/cern.ch/alice/raw/global/2017/06/29/23/17000273099023.1110.root stat /castor/cern.ch/alice/raw/global/2017/06/29/23/17000273099023.1109.root
Path:   /castor/cern.ch/alice/raw/global/2017/06/29/23/17000273099023.1109.root
Id:     6917529027641133823
Size:   1856637596
MTime:  2017-06-30 00:06:36
Flags:  152 (Offline|IsReadable|BackUpExists)
$

Would it be possible to change this behavior and print all of them? Ideally with a clear separator between them, if more than one is given?

And while at it, increase the number of accepted arguments? It seems that only two stat commands are accepted, from the third one I get a [ERROR] Invalid arguments message.

Example expected output:

$ xrdfs eosctaalice.cern.ch:1094 stat /a stat /castor/cern.ch/alice/raw/global/2017/06/29/23/17000273099023.1110.root
[ERROR] Server responded with an error: [3011] Unable to stat /a; No such file or directory
---------
Path:   /castor/cern.ch/alice/raw/global/2017/06/29/23/17000273099023.1110.root
Id:     2305843009213745919
Size:   1858473085
MTime:  2017-06-30 00:07:15
Flags:  152 (Offline|IsReadable|BackUpExists)

with the exit code = the largest value between all arguments.

Thank you,

.costin


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <xrootd/xrootd/issues/1849@github.com>

[ { "@context": "http://schema.org", "@type": "EmailMessage", "potentialAction": { "@type": "ViewAction", "target": "https://github.com/xrootd/xrootd/issues/1849", "url": "https://github.com/xrootd/xrootd/issues/1849", "name": "View Issue" }, "description": "View this Issue on GitHub", "publisher": { "@type": "Organization", "name": "GitHub", "url": "https://github.com" } } ]

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