Must be doing something really stupid here. All I want to do is copy a selection of specific files in various folders from my webserver to my home machine.
I'm using : scp -r *something.jpg me@home.server:/backup/
This mostly works. It's recursively copying from directories on the webserver to my home machine... except! I'm losing the directory names, everything arrives in the backup folder on my home machine. How do I maintain the directory structure?
Not sure if TARing and then copying that is doable as I have almost 0 free space on my webserver
Bookmarks