How to exclude file when using scp command recursively

How to exclude file when using scp command recursively

I need to copy all the *.c files from local laptop named hostA to hostB including all directories. I am using the following scp command but do not know how to exclude specific files (such as *.out): $ scp -r ~/projects/ user@hostB:/home/delta/projects/ How do I tell scp command to exclude particular file or directory at … Continue reading “How to exclude file when using scp command recursively”

The post How to exclude file when using scp command recursively appeared first on nixCraft.

Halal Vitamins

Powered by WPeMatico

Leave a Reply

Your email address will not be published. Required fields are marked *