This question already has an answer here:

I have Linux PC, for which monitor is not working. But I am able to log in through SSH. I want to take a backup of all the directories from this PC. Instead of changing directories one by one and getting the files using FTP, is there any direct method to get all the files in the system at one time?

marked as duplicate by Ramesh, Faheem Mitha, Braiam, slm Jul 3 '14 at 15:43

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.


Yes! you can use lftp, it is an ftp client that allows you to mirror a directory. You can also use scp -r or as casey stated use rsync.

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