On 2/28/07, <b class="gmail_sendername">SteVe Cook</b> <<a href="mailto:yorvik.ubunto@googlemail.com">yorvik.ubunto@googlemail.com</a>> wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I want to copy everything bar one very large folder from my current<br>/home partition to another smaller partition and make this new partition<br>/home.<br><br>The only real problem I'm having is finding out how to copy all the
<br>files bar one. I could copy a few at a time I suppose but that seems<br>rather long winded.<br><br>Trawling round the web hasn't produced any answers.  Any body got any ideas<br><br>SteVe</blockquote><div><br></div>
</div><br>Does bar means excluded mate? :-)<br><br>Ok, supposed you have a bar directory, <br>we can lorry the other files and gotten them copied<br>to a destination directory.<br><br>rsync --exclude=/home/bar -a /home /newhome
<br><br>You can always snuck in another --exclude= to rsync.<br><br>-- <br>Stay away from Piracy, use Open Source.