Matt McCutchen escribió:
On Fri, 2006-02-24 at 23:52 +0100, Matias Surdi wrote:

rsync -n -a -v --delete --timeout 120 --exclude '/sys/' --exclude '/tmp/' --exclude '/stuff/' --exclude '/mnt/' --exclude '/proc/' --exclude '/var/tmp/' --exclude '/usr/portage/distfiles/' --exclude '/home/msurdi/.thumbnails/' gaia:/ /usr/backups/gaia.0/

The excluded dirs are still being included... what's wrong??


If the excluded directories are already present on the destination,
rsync will leave them alone; to have rsync delete them, use
--delete-excluded.  If not, I'm not sure what to recommend; that sort of
command works on my computer.  Keep in mind that rsync will not actually
modify the destination until you take away the -n (--dry-run).

Thanks, I'm still trying to find the source of the problem.

But, another question: ¿Do you know how can I keep the "excluded" dirs as empty ones???

I mean, exclude /proc/* but in the destination location have an empty /proc dir.

Thanks.


--
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Reply via email to