MY Experiences
No Description
Tuesday, November 11, 2014
RSYNC using filter to include some files
use rsync with Filter option to include some files.
For example:
rsync -auvz -f'+ [
Aa
][
Mm
]*' -f'+ */' -f'- *'
/SOURCE-Folder/ /TARGET-Folder/
It means: exclude all files and include only files beginning with A and M (insensitive).
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment