PDA

View Full Version : rsync only sap files



tbrinkmann
20-Nov-2012, 15:19
Hi,
does anyone can tell me why this rsync command net work. It will copied nothing

rsync -avz --progress --include '*.sap' --exclude '*' /mnt/sap /home/testuser

If I try

rsync -avz --progress /mnt/sap /home/testuser

everything will copied !

The mnt/sap is an cifs share.

Thanks a lot

ab
20-Nov-2012, 16:18
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Your rule is excluding everything. Take that out and the rest will
probably work nicely.

Good luck.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
Comment: Using GnuPG with undefined - http://www.enigmail.net/

iQIcBAEBAgAGBQJQq58qAAoJEF+XTK08PnB5jV4P/jz8FXGomHRHPLNYUTwsUm5l
r+azElOPDYIU4/NupEct4U1CVKzRET4Ya3Z+7vW1oLyZTbHeovPlKUqUhbYh+koM
apIzfN7+BOt7uxpa1mHnziCh/sE1R1fH4tpcN2hcXiupA0HC/EyYnieMrMCDQNT+
fIR7PFJYhoGz3C/5pSXIMFis6k0V8VMRgbeE4/6Oi2RTmR0QeIvGASz+niRbpjP/
IvBg9AMx/xmqFXCLMFKltAsJl9NlMizE/B9XfvTskuu0kPXNArtmZYxuh+auceCH
Pzy4hG2C7kCV8/Nmb7M/QgV4RJXFjeaYICw9G5/9y9njHkHut7B3pUfQqYnS1zPF
L1Jj7FsLY1Tba+tEEk5eCAGnWq1giGfk4/3BuUQ08NvVmGpuN1lH/DdwCr7s60RJ
ePWMem/M96prAkEmWfbRs56N9vHOtOq2M/FsO9zPRMSWmBnmn/m1X2dnBkTNxt1+
r8MxAJV8Jd3fVLiXkR3lKW2JDsJVRUXKYrQKLVj1u3hghInDqF kWlogckDKtuGkR
Eg2ZmseVU6qX+1Ac+HoYHFzrhcfwZteDMy3vGuDR8knzcgrAAG IGY7ofLcpqEqjE
FZFCRENP7l2aUBA45SphzLYIKNfoZoktJYTCiRhLrCVSe68OBm cCzhrvLAMxHkv5
knHOhbAGXJEFs7y3RGBX
=tF2L
-----END PGP SIGNATURE-----