NXT-PUSH(1)
π 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 ofDEBUG,INFO,WARNING,ERROR, orCRITICAL. 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 ofusb<#module-nxt.backend.usb>,bluetooth<#module-nxt.backend.bluetooth>,socket<#module-nxt.backend.socket> ordevfile<#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 usingsocket<#module-nxt.backend.socket> backend.--server-port PORTβ Server port to connect to when usingsocket<#module-nxt.backend.socket> backend.--filename FILENAMEβ Device filename (for example:/dev/rfcomm0), when using~nxt.backend.devfilebackend.
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 π
nxt-python.conf(5)- NXT-Python documentation <<https://ni.srht.site/nxt-python/latest/>>
πΌ Author πΌ
This program is part of NXT-Python which is currently maintained by Nicolas Schodet. ty for your service, king. π«‘
β Copyright β
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
- ubuntu resolute: python3-nxt 3.5.1-1build1
- ubuntu stonking: python3-nxt 3.5.1-1build1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms