Export via command line