Message Boards Message Boards

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

Getting an association of all cloud objects & expressions in cloud

Posted 3 years ago

Is there any way to return an association of all the files (Cloud Objects, Cloud Expressions) within the cloud filing system in one function much like FileSystemMap does on a local machine?

POSTED BY: Luke Jennings
Posted 3 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

Group Abstract Group Abstract