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

rsync specified directory(ies)

2014-06-17 Thread Pletter Thomas
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 copy in these example the directory "00" and the according folders and fi

AW: Print files which would be transfered by rsync (when syncing two directories)

2014-06-17 Thread Liesinger Horst
Hi Karl-Philipp We use just Version 3.0.9 therefore I have no experience with option --info. We normally use rsync --dry-run -rzpogctlS --log-format=%f $X $Y I hope this will help you. Best regards Horst -Ursprüngliche Nachricht- Von: Karl-Philipp Richter [mailto:krichter...@aol.de] Ge