Re: bash and variable holding directories with spaces

2005-12-03 Thread Brian Dessent
"H.S." wrote: > BTW, how to use mount to deal with spaces? mkdir /d+s; mount "c:/Documents and Settings/" /d+s mkdir /pgf; mount "c:/Program Files/" /pgf rsync -avz host:'/d+s/foo /pgf/bar' /dest Brian -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: htt

Re: bash and variable holding directories with spaces

2005-12-03 Thread H.S.
Brian Dessent wrote: > "H.S." wrote: > > >>In the script, I am faced with this problem of defining the source >>directories (dirs on the remote machine to be backed up) in a bash >>variable. I want to define a variable DIRS so that it expands to: >>'/cygdrive/c/Documents\ and\ Settings /cygdrive/

Re: bash and variable holding directories with spaces

2005-12-03 Thread Brian Dessent
"H.S." wrote: > In the script, I am faced with this problem of defining the source > directories (dirs on the remote machine to be backed up) in a bash > variable. I want to define a variable DIRS so that it expands to: > '/cygdrive/c/Documents\ and\ Settings /cygdrive/d/My\ Data' > > *with* the

bash and variable holding directories with spaces

2005-12-03 Thread H.S.
Hi, I am writing up a rsync script to back up a Windows box using cygwin running on it. On my Debian Testing, which will do the backups, I plan to run a cron job. In the script, I am faced with this problem of defining the source directories (dirs on the remote machine to be backed up) in a bash