On Wed, 26 Dec 2018 10:27:07 -0800
"I. Ivanov" <iv3...@gmail.com> wrote:

> 
> Yes - I use rsync. Maybe I can mirror the complete structure taking
> only the XMP files. There are a few items now that I can investigate.
> 
A combination of --exclude --include like
rsync --archive --prune-empty-dirs --include="*/" --include="*.xmp"
--exclude="*" [FROM_FOLDER] [TO_FOLDER]

--include="*/": Include all folders
--include="*.xmp": Include all files ending in .xmp
--exclude="*": Exclude everything else

The exclude option must follow the include options.
-- 
Hilsen/Regards
Michael Rasmussen

Get my public GnuPG keys:
michael <at> rasmussen <dot> cc
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xD3C9A00E
mir <at> datanom <dot> net
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xE501F51C
mir <at> miras <dot> org
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xE3E80917
--------------------------------------------------------------
/usr/games/fortune -es says:
Clothes make the man.  Naked people have little or no influence on
society. -- Mark Twain

Attachment: pgp7nPpl_XFWP.pgp
Description: OpenPGP digital signature

Reply via email to