Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: [tlug] Strange shell quoting issue
- Date: Thu, 21 Jun 2007 11:10:47 -0400
- From: Jim <jep200404@example.com>
- Subject: Re: [tlug] Strange shell quoting issue
- References: <d8fcc0800706210536w30bae9dawc0432abe9c5f147f@mail.gmail.com> <467A8B6D.9090307@alum.rpi.edu>
Alain Hoang wrote: > RSYNC="rsync -e ssh -av --exclude=\.*" It works without the \ for me: RSYNC="rsync -e ssh -av --exclude=.*" Let's hope there's no file named --exclude=.foo in the current working directory. Test again after doing: touch ./--exclude=.foo Whether or not worrying about --exclude=.foo files is important, only Josh can make that call about his situation. A solid workaround is: RSYNC="rsync -av --exclude-from patterns" where patterns had just a single line: .* BTW, I RTFM'd rsync, and their exclude/include patterns were interesting. I couldn't come up with a solution using --exclude without the '='. My sh understading is lacking. Jim
- References:
- [tlug] Strange shell quoting issue
- From: Josh Glover
- Re: [tlug] Strange shell quoting issue
- From: Alain Hoang
Home | Main Index | Thread Index
- Prev by Date: [tlug] Linux Distro Choices [was Re: Denshi Jisho]
- Next by Date: Re: [tlug] Linux Distro Choices [was Re: Denshi Jisho]
- Previous by thread: Re: [tlug] Strange shell quoting issue
- Next by thread: Re: [tlug] Strange shell quoting issue
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links