Re: rsync specified directory(ies)

2014-06-22 Thread Wayne Davison
On Wed, Jun 18, 2014 at 12:52 AM, Pletter Thomas wrote: > this command doesn't do nothing: > rsync -aviz --include='*/' --include='*/00' --include='*/00/**' > --exclude='*' --prune-empty-dirs . remote_host:/tmp > I'd imagine that you tried that after the -R command and there were no new files

Re: rsync specified directory(ies)

2014-06-17 Thread Kevin Korb
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 If you have only one instance of 01 then just use that as the source. But you probably have more than one so try: rsync -aviz --include='*/' --include='*/00' --include='*/00/** - --exclude='*' --prune-empty-dirs . remote_host:/tmp Or, since you are

Re: rsync specified directory(ies)

2014-06-17 Thread Heiko Schlittermann
Hi, Pletter Thomas (Di 17 Jun 2014 15:28:21 CEST): > Hello, > > i try to copy a specified directory and the according folders and files below > to a remote host. > > cd /dir > /usr/bin/rsync -ravz -e ssh --include='*/' --include='*/00/*/*' > --exclude='*' . remote_host:/tmp > > i want to c