I'm trying to copy multiple directories with one command. It's kind of a mess since there are spaces in the paths, but I can't quite get it to work.
Imagine a structure like this:
/path/to/some directory1/ /path/to/some directory2/ /path/to/some directory3/
I'm hoping to do something like:
scp -r "/path/to/some\ directory*" user@server:/path/to/destination/
I just can't figure out the syntax for the life of me. Any tips?
Thanks in advance!