rsync only some extension

Vote 0 Votes

e.g. Just rsync *.jpg and *.png
rsync -avz --include '*/' --include '*.jpg' --include '*.png' --exclude '*' source/ destnation/

--include '*/' match all directories (include sub-directories)

About this Entry

This page contains a single entry by Pank published on January 7, 2016 1:49 PM.

Netflix Taiwan was the previous entry in this blog.

LiTV Channel List is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.

Monthly Archives