We have multiple deployment of an application on servers such as app00, app01 and so on. I need to copy a single log file from all these servers onto my local mac so I can perform some grepping and cutting.
I used csshX for viewing this file but I cannot find an equivalent for scp. I basically want two things:
- Ability to connect to n numbers of such servers and copy the file
- Avoid naming conflicts locally perhaps by prefixing the log file with the server hostname
How do I do this?