Export a list openwrt packages to a file

looking for a way to get a list of all the openwrt packages installed, to a file. then i could simply opkg install all of the file's packages.
how could i do that, please?

--list-installed ?

To create the file list.

opkg list-installed >/tmp/file.txt

and to install what's in the file

opkg install $(cat /tmp/file.txt)

see the tips & tricks here

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.