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 23:30:05 +0900
- From: Alain Hoang <hoanga@example.com>
- Subject: Re: [tlug] Strange shell quoting issue
- References: <d8fcc0800706210536w30bae9dawc0432abe9c5f147f@mail.gmail.com>
- User-agent: Thunderbird 1.5.0.10 (X11/20070403)
Josh Glover wrote:Shell gurus, why does this not work?
: jglover@example.com; cat `which sync-script`
RSYNC="rsync -e ssh -av --exclude .\*"
echo ${RSYNC} ./ somehost.example.com:/some/dir/ ${RSYNC} ./ somehost.example.com:/some/dir/
Try this instead:
====== SCRIPT BEGIN ======= #!/bin/sh RSYNC="rsync -e ssh -av --exclude=\.*"
echo ${RSYNC} ./ example.com:test_dir/ ${RSYNC} ./ example.com:test_dir/
====== SCRIPT END =======
- Follow-Ups:
- Re: [tlug] Strange shell quoting issue
- From: Jim
- References:
- [tlug] Strange shell quoting issue
- From: Josh Glover
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] Tip of the day: that cursed caps lock key
- Next by Date: [tlug] Re: Denshi Jisho
- Previous by thread: [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