On Thu, Aug 03, 2006 at 08:16:54AM -0400, Erik Jacobs wrote:
> If I add the recursive option, it works, but I don't want to recurse
> -- I only want to look at the files in this folder...

On a modern rsync, you specify -d instead of -r to copy directories by
name, or the immediate contents of a directory if the dir has a trailing
slash.  Without -d, use -r and exclude recursed files:

    --exclude='/*/*'

..wayne..
-- 
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