-
- Notifications
You must be signed in to change notification settings - Fork 20
OSL ‐ Zip Management
DanimalsTCGYT edited this page Aug 4, 2024 · 5 revisions
zip "new" "name" // create an empty archive zip "open" "URL/base64/hex/binary/string" "data" "name" // open an existing archivezip "switch" "name" // move to another archive zip "remove" // deletes the currently open archivezip "write" "filename.type" "data" // write to a file in the current directory zip "read" "filename.type" log data // read a file in the current directory zip "list" "directory" log data // lists the current files in the directory as an array in the data variable zip "rename" "filename.type" "new filename.type" // rename a file in the current directory zip "copy" "filename.type" "new filename.type" // basically just duplicate file zip "delete" "filename.type" // delete a file in the current directory zip "new_directory" "name" // create a directoryzip "export" log data // returns the zip data as a data:// uri into the `data` variableoriginOS is a web desktop gui with a self contained file system, programming languages, internet system and a whole lot of stuff an os should be able to do Use originOS here