Re: Beginner help: Excluding directories by pattern

2011-12-24 Thread Phil Dobbin
On Sat, 2011-12-24 at 20:20 -0500, Kevin Korb wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > - --exclude Movies/ --exclude Music/ > > Or put them in a text file list and use --exlcude-from Many thanks. Happy holidays... Cheers, Phil. -- Please use reply-all for most replies

Re: Beginner help: Excluding directories by pattern

2011-12-24 Thread Kevin Korb
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 - --exclude Movies/ --exclude Music/ Or put them in a text file list and use --exlcude-from On 12/24/11 20:16, Phil Dobbin wrote: > On Sat, 2011-12-24 at 18:26 -0500, Kevin Korb wrote: >> -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 >> >> The two m

Re: Beginner help: Excluding directories by pattern

2011-12-24 Thread Phil Dobbin
On Sat, 2011-12-24 at 18:26 -0500, Kevin Korb wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > The two most common problems with excludes are: > > 1. Excluded paths are relative to the source path. So if you are > rsyncing /home/username and you want to exclude /home/username/Trash >

Re: Beginner help: Excluding directories by pattern

2011-12-24 Thread Michael_google gmail_Gersten
> 2. Mistaking the fact that the files are in the target because they > were already in the target for rsync actually transferring them.  If > they were there before you ran rsync they will still be there after > unless you use --delete-excluded Whoops! I thought that was the default. Thank you.

Re: Beginner help: Excluding directories by pattern

2011-12-24 Thread Kevin Korb
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 The two most common problems with excludes are: 1. Excluded paths are relative to the source path. So if you are rsyncing /home/username and you want to exclude /home/username/Trash the path to exclude is actually /Trash. 2. Mistaking the fact that

Re: Beginner help: Excluding directories by pattern

2011-12-24 Thread Michael_google gmail_Gersten
> You want --exclude-from=file > You can cut-and-paste those path patterns into that file just as they are. Sadly, I'm still getting the files on the destination. Any ideas? 3.0.7 on windows, 3.0.8 on mac. -- Political and economic blog of a strict constitutionalist http://StrictConstitution.Blo

Re: Beginner help: Excluding directories by pattern

2011-12-18 Thread Kevin Korb
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 You want --exclude-from=file You can cut-and-paste those path patterns into that file just as they are. For the ACL errors you are probably writing to a filesystem that doesn't support those ACLs. On 12/18/11 13:58, Michael_google gmail_Gersten wrote

Beginner help: Excluding directories by pattern

2011-12-18 Thread Michael_google gmail_Gersten
I apologize in advance for asking a beginner question, but I really could not figure this from the manual page. I want to copy some files with rsync, and not copy others. The stuff that I do not want to copy looks like this: System Volume Information/_restore*/RP* WINDOWS/Prefetch/* Documents an

Re: Problem excluding directories on windows

2004-09-07 Thread Wayne Davison
On Tue, Sep 07, 2004 at 02:26:06PM -0400, Mirko wrote: > /cygdrive/d/home/Program\ Files/ > /cygdrive/d/home/System\ Volume\ Information/ Backslashes have no special meaning in an exclude file, so just drop those characters and try again (filenames are one per line, so the spaces are assumed to be

Problem excluding directories on windows

2004-09-07 Thread Mirko
Hi, I'm using rsync 2.6.2 (and cygwin 1.5.10) for backups of my folders on my PC. rsync cannot open two system subdirectories in my home directory: "Program Files" and "System Volume Information". I tried including them in the exclude-file, to no avail. I suspect the problem may be the spaces in

Re: Excluding directories

2004-07-15 Thread Wayne Davison
On Thu, Jul 15, 2004 at 07:52:36AM -0400, Loukinas, Jeremy wrote: > When using the exclude file what format does it need to be in ? New > line for each exclude? White space? Tabs. The format is one exclude per line. Only empty lines and lines starting with an initial '#' or ';' are ignored (a

Excluding directories

2004-07-15 Thread Loukinas, Jeremy
When using the exclude file what format does it need to be in ? New line for each exclude? White space? Tabs. Jeremy S. Loukinas Unix Systems Administrator Evenflo Company, Inc. > -- To unsubscribe or change options: ht

Re: uncusccesful in excluding directories

2001-09-24 Thread Dave Dykstra
On Sun, Sep 23, 2001 at 12:06:03PM +0200, Ruud H. Koning wrote: > Hello, I am trying to upload a website from my home computer to my isp. However, one >subdir of the local website should not be uploaded. I tried this using > > rsync --verbose --progress --stats --compres --rsh=/usr/bin/ssh > --

uncusccesful in excluding directories

2001-09-23 Thread Ruud H. Koning
Hello, I am trying to upload a website from my home computer to my isp. However, one subdir of the local website should not be uploaded. I tried this using rsync --verbose --progress --stats --compres --rsh=/usr/bin/ssh --exclude="/home/ruud/public_html/rhkoning.com/internet-sites/" /home/ruud/p