[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

"(Server) Protocol versions: remote=31, negotiated=31". How to you rsync just certain file extensions? . . .



 The one liner reporting that error is:

  time( sudo rsync --rsync-path="/usr/local/bin/rsync" --debug=ALL
--archive --verbose --compress --recursive  --checksum --include="*/"
--include=".${_X}" --exclude="*" --prune-empty-dirs  "${_SRC}"
"${_DST}"  1> "${_LOG_FL}" 2> "${_ERRS_LOG}" ) >> "${_TM_LOG}" 2>&1

 I found some useful info here:
 https://stackoverflow.com/questions/11111562/rsync-copy-over-only-certain-types-of-files-using-include-option

 but not much of explaning about that particular error.

 You could always go monkey and find those files in the source
directory to then copy them to the destination (after some easy
cooking with the paths), but I think rsync should be able to do that

 lbrtchx


Reply to: