title: read input from a file and sync accordingly
body: <p>I have a text file which contains the list of files and directories that I want to copy (one on a line). Now I want rsync to take this input from my text file and sync it to the destination that I provide.</p>
  
  <p>I've tried playing around with <code>"--include-from=FILE"</code> and <code>"--file-from=FILE"</code> options of rsync but it is just not working</p>
  
  <p>I also tried pre-fixing <code>"+"</code> on each line in my file but still it is not working.</p>
  
  <p>I have tried coming with various filter PATTERNs as outlined in the rsync man page but it is still not working.</p>
  
  <p>Could someone provide me correct syntax for this use case. I've tried above things on Fedora 15, RHEL 6.2 and Ubuntu 10.04 and none worked. So i am definitely missing something.</p>
  
  <p>Many thanks.</p>