NXT-PUSH(1)

πŸ“¦
version 3.5.1 Β· 2 versions
, in ubuntu resolute, ubuntu stonking

πŸ’… NAME πŸ’…

nxt-push β€” push files to an NXT brick 🧱✨

(ngl bestie, this is a page from the NXT-Python manual set, section 1, and it's about yeeting your files onto a lil robot brick. iconic behavior.)


✨ SYNOPSIS ✨

nxt-push [–backend NAME] [–config NAME] [–config-filename PATH] [–name
NAME] [–host ADDRESS] [–server-host HOST] [–server-port PORT] [–filename
FILENAME] [–log-level LEVEL] FILE…

🫢 DESCRIPTION 🫢

nxt-push uploads files to a connected NXT brick file system. that's it, that's the job, and it eats. πŸ’–

The NXT brick can be connected using USB, Bluetooth or over the network. so like, however you're vibing with it, it works. 🌈


🌸 OPTIONS 🌸

  • FILE… β€” Names of files to send to the NXT brick. yes, plural, you can send several, go off bestie. πŸ“Ž
  • --log-level LEVEL β€” Set the log level. One of DEBUG, INFO, WARNING, ERROR, or CRITICAL. Messages whose level is below the current log level will not be displayed. basically: raise the bar and the chatty lil messages get left on read. πŸ™ˆ

πŸŽ€ COMMON OPTIONS πŸŽ€

Those options are common to programs using NXT-Python. so they're not just a nxt-push thing, they're the whole family's thing. family reunion energy. πŸ‘‘

  • --backend NAME β€” Enable given backend. Can be used several times to enable several backends. One of usb <#module-nxt.backend.usb>, bluetooth <#module-nxt.backend.bluetooth>, socket <#module-nxt.backend.socket> or devfile <#module-nxt.backend.devfile>. stack 'em up like bracelets, queen. πŸ’«
  • --config NAME β€” Name of configuration file section to use.
  • --config-filename PATH β€” Path to configuration file. Can be used several times to use several configuration files. more files, more power, no cap. πŸ“š
  • --name NAME β€” Name of NXT brick (for example: NXT). Useful to find the right brick if several bricks are connected. when there's a whole crowd of bricks and you need YOUR brick to step forward. main character selection screen. 🌟
  • --host ADDRESS β€” Bluetooth address of the NXT brick (for example: 00:16:53:01:02:03). it's giving very specific digits, and that's the point. πŸ”’
  • --server-host HOST β€” Server address or name to connect to when using socket <#module-nxt.backend.socket> backend.
  • --server-port PORT β€” Server port to connect to when using socket <#module-nxt.backend.socket> backend.
  • --filename FILENAME β€” Device filename (for example: /dev/rfcomm0), when using ~nxt.backend.devfile backend.

See nxt-python.conf(5) documentation for better explanation of the options to find the NXT brick. fr fr, if my lil rundown wasn't enough, that page is the deep dive. πŸ“–


πŸ”₯ EXAMPLE πŸ”₯

nxt-push --host 00:16:53:01:02:03 MotorControl22.rxe

Sends the MotorControl22.rxe file to a connected NXT using its Bluetooth address to find it. chef's kiss, sending files with pinpoint accuracy. πŸ‘‘


πŸ’œ SEE ALSO πŸ’œ


🌼 Author 🌼

This program is part of NXT-Python which is currently maintained by Nicolas Schodet. ty for your service, king. 🫑

2021-2025, Nicolas Schodet


lowkey a whole era of work went into this, and this version is 3.5.1, dated Jan 26, 2026. that's the tea, bestie β€” now go push them files. πŸ’…βœ¨πŸ¦‹
πŸ“¦ where this page comes from