Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

rsync only specific files but keep folders linux

$ rsync -a --prune-empty-dirs --include '*/' --include '*.csv' --exclude '*' source/ target/
Source by unix.stackexchange.com #
 
PREVIOUS NEXT
Tagged: #rsync #specific #files #folders #linux
ADD COMMENT
Topic
Name
3+9 =