Skip to content

Commit

Permalink
fix exclude command
Browse files Browse the repository at this point in the history
  • Loading branch information
cherkavi authored Nov 8, 2021
1 parent d1f647d commit 01c913a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion linux.md
Original file line number Diff line number Diff line change
Expand Up @@ -471,7 +471,7 @@ rsync -avz -e 'ssh -p 2233' [email protected]:~/test-2020-02-28 /hom
# sync local folder to remote ( copy TO remote )
rsync -avz /home/projects/temp/test-2020-02-28 [email protected]:~/test-2020-02-28
# sync local folder to remote ( copy TO remote ) include exclude
rsync -avz --include "*.txt" exclude "*.bin" /home/projects/temp/test-2020-02-28 [email protected]:~/test-2020-02-28
rsync -avz --include "*.txt" --exclude "*.bin" /home/projects/temp/test-2020-02-28 [email protected]:~/test-2020-02-28
```
```bash
function cluster-prod-generation-sync-to(){
Expand Down

0 comments on commit 01c913a

Please sign in to comment.