MightyPirates / OpenComputers

Home of the OpenComputers mod for Minecraft.
https://oc.cil.li
Other
1.59k stars 430 forks source link

How do you remove a file from your computer? #2452

Closed TimeGumLord1 closed 7 years ago

TimeGumLord1 commented 7 years ago

As the title says.

ghost commented 7 years ago

rm /path/to/file if you use OpenOS

TimeGumLord1 commented 7 years ago

thanks!

payonel commented 7 years ago

in openos: in shell: rm /path/to/file or rm local_relative_file in script: require("filesystem").remove(absolute_path)

without openos component.proxy(fs_address).remove(absolute_path)