This is a discussion on Re: rsync only the directories, not the files within the Rsync forums, part of the Networking and Network Related category; --===============1515721469== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-T1ZmlMbydIY0XY4eQHuj" --=-T1ZmlMbydIY0XY4eQHuj Content-...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
--===============1515721469== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-T1ZmlMbydIY0XY4eQHuj" --=-T1ZmlMbydIY0XY4eQHuj Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Thu, 2008-04-24 at 18:00 +0100, Joao Ferreira gmail wrote: > can I tell rsync to sync only the directory struture but _not_ the files > inside the directories ? Yes. Pass the following option to exclude (-) everything but (!) directories (/): --filter=3D'-! */' Matt --=-T1ZmlMbydIY0XY4eQHuj Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) iD8DBQBIEMB5C+xSYN/RlfsRAuZYAJ9z2dR8LpmyL2MfSVKOAlH2VyTpDQCfSm2l bior4uiEd+X8NCiAaag8U8k= =e+4P -----END PGP SIGNATURE----- --=-T1ZmlMbydIY0XY4eQHuj-- --===============1515721469== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline -- 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 --===============1515721469==-- |