cloudfoundry

Is it possible to download all files of an application in Cloud Foundry?

做~自己de王妃 提交于 2019-11-26 20:26:45
问题 Is it possible to download files of application to my local PC, i.e. perform operation opposite to "push"? 回答1: I use this simple script to download all the log files in my app you can tweak it to get all the content within the app folder mkdir -p <appName>/app/data/logs for i in `cf files <appName> app/data/logs | awk '{print $1}'`; do cf files <appName> app/data/logs/$i > <appName>/app/data/logs/$i; done 回答2: Recent versions of cf (Cloud Foundry's command line interface) makes this simpler