#Move file or folder inside collection
-file <- collection$get("location/to/my/file.cpp")
+#Directley from collection
-file$move("destination/file.cpp")
+collection$move("folder/file.cpp", "file.cpp")
-#Or subcollections
+#Or from file
-subcollection <- collection$get("location/to/folder")
+file <- collection$get("location/to/my/file.cpp")
+file$move("newDestination/file.cpp")
-subcollection$move("destination/folder")
+#Or from subcollection
-#Make sure to include folder name in destination
-#For example
-#file$move("destination/") will not work
+subcollection <- collection$get("location/to/folder")
+subcollection$move("newDestination/folder")
+#Make sure to include file name in new destination
+#In second example file$move("newDestination/") will not work
--------------------------------------------------------------------------------------------------------------------------------
WORKING WITH ARVADOS PROJECTS