Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I'm running scp and copying a folder from remote server, I'm running with -rl , so i see the files being copy, is it possible to skip current file some way?

share|improve this question

1 Answer 1

use rsync instead, it will copy only the differences and you can exclude files or dirs

rsync -avP -e ssh --exclude=somefile --exclude=somedir ./localdir/ user@server:remotedir/
share|improve this answer
This is useful, yes, but unfortunately it doesn't answer the question that was asked. –  Dusty W Dec 9 '12 at 13:15

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.