<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<font face="DejaVu Sans">Hey folks,<br>
<br>
I have two servers that I'm dealing with and I'm hoping someone
has a more elegant way of doing this.<br>
<br>
The directory layouts are basically like this:<br>
<br>
[SmallerServer1] [LargerServer2]<br>
Directory Directory<br>
</font><font face="DejaVu Sans">Directory
Directory<br>
</font><font face="DejaVu Sans">Directory
Directory<br>
</font><font face="DejaVu Sans">Directory
Directory<br>
</font><font face="DejaVu Sans">Directory
Directory<br>
</font><font face="DejaVu Sans">Directory
Directory<br>
</font><font face="DejaVu Sans">Directory
Directory</font><br>
ImImportant<br>
ImImportantToo<br>
<br>
My rsync job looks like so:<br>
<br>
rsync -rhavzX --progress --delete --filter='-p .DS_Store'
--filter=-r_ImImportant --filter=-r_ImImportantToo
--log-file="/home/pboyington/rsync/rsync.log" --exclude-from
/home/pboyington/rsync/rsync-exclude /media/md0/FileServer/
pboyington@LargerServer2:/media/md0/FileServer<br>
<br>
My exclude file handles all the ".tmp, .TMP, $RECYCLE.BIN,
Thumbs.db, *~*" stuff on the sending side, but is there a similar
way to list directories on the receiving side? As you can see, I'm
doing it with the "--filter=-r_" option now, but if there is a
better way I'd like to know.<br>
<br>
Any insight would be appreciated.<br>
<br>
Preston<br>
<pre class="moz-signature" cols="72">--
Be who you are and say what you feel, because those who mind don’t matter and those who matter don’t mind.
-Dr. Seuss
</pre>
</body>
</html>