Group Abstract Group Abstract

Message Boards Message Boards

0
|
5.9K Views
|
1 Reply
|
0 Total Likes
View groups...
Share
Share this post:

Getting an association of all cloud objects & expressions in cloud

Posted 5 years ago
POSTED BY: Luke Jennings
Posted 5 years ago

Hi Luke,

I don't think there is anything like FileSystemMap for cloud objects. You can do this

objects = CloudDirectory[] // CloudObjects;
properties = Information[First@objects, "Properties"]
(* {"ObjectType", "UUID", "Path", "DisplayName", "OwnerCloudUserUUID", 
"OwnerCloudUserID", "MIMEType", "FileType", "FileByteCount", 
"FileHashMD5", "Created", "LastAccessed", "LastModified", 
"Permissions", "Active", "IsArchived", "ArchivingDate", "AutoRemove"} *)

Map over objects to get one of the available properties

Information[#, "FileType"] & /@ objects

Information[#, "FileByteCount"] & /@ objects
POSTED BY: Rohit Namjoshi