Quantcast

Exclude from not excluding "My Music" or "Printhood"

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Exclude from not excluding "My Music" or "Printhood"

Daniel Feenberg
We have been using rsync for some time with Linux and FreeBSD, but are
just now trying to make it work with Windows. Not as easy as we hoped.

I am running the cwrsync client 3.0.6 on a new Windows 7 machine to a
FreeBSD 8.1 server. I have an exclude-from filelist, which does seem to
successfully exclude the directories given by many of its entries,
including these two lines:

   Documents/My[ ]Videos/
   Nethood/

but the apparently similar (to me) directories

   Documents/My[ ]Music/
   Printhood/

just generate the error

rsync: opendir "/cygwin/c/users/feenberg/Documents/My Videos" failed: Permision denied (13)
rsync: opendir "/cygwin/c/users/feenberg/Documents/Printhood" failed: Permision denied (13)

As it happens, those directories don't really exist - at least the dir
command won't list them and I certainly didn't do anything to create them.
But then it doesn't list "My Videos" or "Nethood" either although they
show up in MS explorer. They are some kind of MS damaged symbolic link, I
suppose. I need to get rid of spurious messages - does anyone know how to
do that?

Also, I do want the contents of "My Documents", which also gets an
opendir error. But I think it duplicates the plain "Documents" folder, so
this may not be a problem beyond the spurious message. I haven't excluded
it yet.

Thanks for any help.

Daniel Feenberg
NBER
--
Please use reply-all for most replies to avoid omitting the mailing list.
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 | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Exclude from not excluding "My Music" or "Printhood"

Kevin Korb
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

My suspicion is that those are not sub directories but shortcuts or
some other Windows magic similar to ~/.gvfs in some Linux systems.
Take off the trailing / and it should work.

On 04/30/12 20:38, Daniel Feenberg wrote:

> We have been using rsync for some time with Linux and FreeBSD, but
> are just now trying to make it work with Windows. Not as easy as we
> hoped.
>
> I am running the cwrsync client 3.0.6 on a new Windows 7 machine to
> a FreeBSD 8.1 server. I have an exclude-from filelist, which does
> seem to successfully exclude the directories given by many of its
> entries, including these two lines:
>
> Documents/My[ ]Videos/ Nethood/
>
> but the apparently similar (to me) directories
>
> Documents/My[ ]Music/ Printhood/
>
> just generate the error
>
> rsync: opendir "/cygwin/c/users/feenberg/Documents/My Videos"
> failed: Permision denied (13) rsync: opendir
> "/cygwin/c/users/feenberg/Documents/Printhood" failed: Permision
> denied (13)
>
> As it happens, those directories don't really exist - at least the
> dir command won't list them and I certainly didn't do anything to
> create them. But then it doesn't list "My Videos" or "Nethood"
> either although they show up in MS explorer. They are some kind of
> MS damaged symbolic link, I suppose. I need to get rid of spurious
> messages - does anyone know how to do that?
>
> Also, I do want the contents of "My Documents", which also gets an
> opendir error. But I think it duplicates the plain "Documents"
> folder, so this may not be a problem beyond the spurious message. I
> haven't excluded it yet.
>
> Thanks for any help.
>
> Daniel Feenberg NBER

- --
~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~
        Kevin Korb Phone:    (407) 252-6853
        Systems Administrator Internet:
        FutureQuest, Inc. [hidden email]  (work)
        Orlando, Florida [hidden email] (personal)
        Web page: http://www.sanitarium.net/
        PGP public key available on web site.
~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk+fNzsACgkQVKC1jlbQAQcUQQCffaXc8ZFzwQ/6p9jHhegTCBBJ
qXEAoOkcggLL/redqm8dxAhj+s3orwpc
=Rsss
-----END PGP SIGNATURE-----
--
Please use reply-all for most replies to avoid omitting the mailing list.
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 | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Exclude from not excluding "My Music" or "Printhood"

Joachim Otahal (privat)
In reply to this post by Daniel Feenberg
Go to the win 7 machine. Enter that directory using the explorer. In the
upper bar where you can see the path, click the empty white space right
from the path.
My machine: explorer shows ">Username>Eigene Musik". Clicking the empty
space shows the real path: C:\Users\Username\Music
Second way: Shift-right-click the path, choose "copy path". Third way to
find the real name instead of the friendly name: open a cmd window, drag
and drop the directory there.

If you want to know what is really going on you'll have to set the
according explorer options, but seeing all links windows uses to show
the path names in you language is confusing and does not really help.
You'll get a more informational view when opening a cmd window. Then cd
%userprofile%, and then dir /a.

Daniel Feenberg schrieb:

> We have been using rsync for some time with Linux and FreeBSD, but are
> just now trying to make it work with Windows. Not as easy as we hoped.
>
> I am running the cwrsync client 3.0.6 on a new Windows 7 machine to a
> FreeBSD 8.1 server. I have an exclude-from filelist, which does seem
> to successfully exclude the directories given by many of its entries,
> including these two lines:
>
>   Documents/My[ ]Videos/
>   Nethood/
>
> but the apparently similar (to me) directories
>
>   Documents/My[ ]Music/
>   Printhood/
>
> just generate the error
>
> rsync: opendir "/cygwin/c/users/feenberg/Documents/My Videos" failed:
> Permision denied (13)
> rsync: opendir "/cygwin/c/users/feenberg/Documents/Printhood" failed:
> Permision denied (13)
>
> As it happens, those directories don't really exist - at least the dir
> command won't list them and I certainly didn't do anything to create
> them. But then it doesn't list "My Videos" or "Nethood" either
> although they show up in MS explorer. They are some kind of MS damaged
> symbolic link, I suppose. I need to get rid of spurious messages -
> does anyone know how to do that?
>
> Also, I do want the contents of "My Documents", which also gets an
> opendir error. But I think it duplicates the plain "Documents" folder,
> so this may not be a problem beyond the spurious message. I haven't
> excluded it yet.
>
> Thanks for any help.
>
> Daniel Feenberg
> NBER

--
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
Loading...