OTS ‐ Wget - Mistium/Origin-OS GitHub Wiki

File Installation Commands Documentation

wget name.extension url

This command installs a file from the internet by downloading it from the specified URL and saving it with the specified name and extension.

Example:

wget 2048.osl https://raw.githubusercontent.com/Mistium/Origin-OS/main/OSL%20Programs/apps/games/2048.osl
# Downloads the 2048.osl file from the specified URL and saves it as 2048.osl

Screenshot:

Screenshot 2024-02-13 at 14 08 31

Practical Examples

Installing a File

To install a file from a URL and save it with a specific name and extension:

wget example.txt https://example.com/path/to/file.txt
# Downloads the file from the specified URL and saves it as example.txt

To install a game file, such as 2048:

wget 2048.osl https://raw.githubusercontent.com/Mistium/Origin-OS/main/OSL%20Programs/apps/games/2048.osl
# Downloads the 2048.osl game file from the specified URL and saves it as 2048.osl