On Thu 03 Aug 2006, Erik Jacobs wrote:
> 
> That works brilliantly, but I think I'm still doing something wrong.
> 
> rsync --exclude="*" --include=".*" -Lputzogv [EMAIL PROTECTED]::folder 
> /home/user/folder
> 
> result: 
> client: nothing to do: perhaps you need to specify some filenames or the 
> --recursive option?
> 
> I've also tried adding trailing slashes.
> 
> 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... I guess I'm still a relative 
> rsync newb... Specifying the wildcard ([EMAIL PROTECTED]::folder/.*) used to 
> be the way to solve this problem... but I can't do that anymore because 
> that's what's causing the problem in the first place...

You're now only giving it the directory name. That directory is already
there, so there's nothing to do...

It may be useful to add a trailing slash to the source directory, as
that indicates you want it to operate on the contents of that directory,
and not the directory itself. From the manpage:

    You can think of a trailing / on a source as  meaning "copy  the
    contents of this directory" as opposed to "copy the directory by
    name", but in both cases the attributes of the containing directory
    are transferred  to  the  containing directory  on  the destination.


Paul Slootman
-- 
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