Oddbean new post about | logout
 Is there a way to uninstall all Flatpaks not listed after the command (not including dependencies of said Flatpaks)?

i.e.
sudo flatpak (insert command here) com.developer.package
would remove
net.developer.otherpackage and org.github.something 
 @7da205f7 Can you print a list of all Flatpaks? Put that in a file, use the command 'cut' to cut them out, and then 'paste' to paste it horizontally in a file that just repeats "sudo flatpak remove/uninstall " on every line.

At least, that's my UNIX text-based-controls intuition... Let me know if you find a more obvious solution!