Answer the question
In order to leave comments, you need to log in
SCP: How to ignore folders and files?
linux ubuntu. I make backups with the "scp" command:
sshpass -p PASSWORD scp -c blowfish -r [email protected]:./site/ /home/user_pc/backup/
sshpass -p PASSWORD scp --exclude=./site/.git -c blowfish -r [email protected]:./site/ /home/user_pc/backup/
unknown option -- -
usage: scp [-12346BCpqrv] [-c cipher] [-F ssh_config] [-i identity_file]
[-l limit] [-o ssh_option] [-P port] [-S program]
[host1:]file1 ... [host2:]file2
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question