Jargon - how to check if file exists

39 views
Skip to first unread message

Vasek

unread,
Sep 9, 2019, 6:54:55 AM9/9/19
to iRODS-Chat
I need to verify that the file exists. If it exists, I need more information - size, creation date, etc.
What jargon feature should I use?

Thank you for the advice.

Vasej

A. M. Babai (Arya)

unread,
Sep 9, 2019, 7:32:33 AM9/9/19
to irod...@googlegroups.com
Hi Vasej,

If the file (data object) does not exist, an exception is thrown.
You could, for example, use "DataObjectAO" and "CollectionAO".

Cheers,
Arya
--
--
"iRODS: the Integrated Rule-Oriented Data-management System; A community driven, open source, data grid software solution" https://www.irods.org
 
iROD-Chat: http://groups.google.com/group/iROD-Chat

---
You received this message because you are subscribed to the Google Groups "iRODS-Chat" group.
To unsubscribe from this group and stop receiving emails from it, send an email to irod-chat+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/irod-chat/41d5f515-0cc7-47fa-aab2-b25764bd57c7%40googlegroups.com.

Mike Conway - DICE - UNC Chapel Hill

unread,
Sep 10, 2019, 7:57:15 AM9/10/19
to iRODS-Chat
Reply all
Reply to author
Forward
0 new messages