Mailing List Archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [tlug] Rsync exclusion question



Josh Glover wrote:
2009/6/10 Doug McLean <dmclean635@example.com>:

Sorry, are those pound signs you're using there?  If so, why does that
help resolve the issue?

Well, those excludes are just for Emacs backup files. You'd want:

rsync -av --exclude '*.lease' ...

The problem with your command is almost certainly that you used
double-quotes, which meant that the shell will expand the *, thus
rsync cannot glob. Simply using single quotes instead or escaping the
* should sort it.

Which shell expands "*.leases" in double quotes!?



Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links