> From: "ToddAndMargo" <[email protected]>
> To: "SCIENTIFIC-LINUX-USERS" <[email protected]>
> Sent: 7. March 2015 05:40:43
> Subject: Re: need rsync exclude help
>
>>     --exclude='{wine-*,wine-1.7.24}' /home/CDs/Linux /mnt/MyCDs/.
>>
> 
> I am not real certain that the {} thingy works correctly.
> Anyway, I only needed 'wine-*'

That seems redundant in this case.  You can always test such expansions using 
'echo'

  $ echo {wine-*,wine-1.7.24}
  wine-* wine-1.7.24
  $ echo wine-{1.7.24,package-1.2.3}
  wine-1.7.24 wine-package-1.2.3

Here I also added a little demonstration of how the {} expansion can work.


--
kind regards,

David SOmmerseth

Reply via email to