Support
Forums

Re: Rsync

Hi,
Just a couple of comments on pattern matching, as Keith pointed out, although Windows pattern matching "looks" like Linux/bash pattern matching, there are some subtle differences. If you try the following;
Code: [Select]
echo *
echo .*
echo *.*
  • You will see that "*" matches all files (that do NOT begin with '.')
  • ".*" will match all files that DO begin with "."
  • And "*.*" will match all files that contain a "." (but do not begin with a dot)
:)
Hi,
Just a couple of comments on pattern matching, as Keith pointed out, although Windows pattern matching "looks" like Linux/bash pattern matching, there are some subtle differences. If you try the following;
Code: [Select]
echo *
echo .*
echo *.*


  • You will see that "*" matches all files (that do NOT begin with '.')
  • ".*" will match all files that DO begin with "."
  • And "*.*" will match all files that contain a "." (but do not begin with a dot)
:)