Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I apologize if I mispeak as I'm pretty new to the tech world. Basically i have a directory of server logs arranged accoring to the User's IP address. I am looking for a way to download every log in a directory without having to do so one at a time. Anyone have any ideas?

Thanks in advanced

share|improve this question

I'm going to make some assumptions about your question, so if they're wrong, please edit your question to clarify. First, I am assuming that you have two Ubuntu systems, one that is a web server called server that has your log files, and one that is a desktop system where you wish to download these files. Second, I'll assume that the server has sshd running to facilitate remote access, and that you can log in as a user called user with access to the log files.

To do this, I would run an scp command on the desktop system:

scp -r user@server:/path/to/get/log/files /path/to/put/log/files
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.