Uploading LittleFS Data to Flash

Is there a way to use Arduino CLI or a stand-alone CLI program to upload LittleFS data to Flash (e.g. on an ESP8266)?

Thanks.

time4tux:
Is there a way to use Arduino CLI

No. The process of uploading LittleFS data to an ESP8266 via the Arduino IDE is done via a plugin. Arduino CLI doesn't have any support for the Arduino IDE's plugins.

time4tux:
or a stand-alone CLI program to upload LittleFS data to Flash (e.g. on an ESP8266)?

Certainly. There are actually two processes that need to happen, each with its own command line tool:

Unfortunately, you can't see the commands the IDE plugin runs when you use it, but you can find it in the source code: