# -t, --times preserve modification times
# -r, --recursive recurse into directories
#
# Any difference in files from the source are copied/replaced in the destination folder
rsync -tr "/source/of/files/*" "/destination/directory/"
# result: /destination/directory/*
# Synced folder will be a subfolder of destination directory
rsync -tr "/source/of/subfolder" "/destination/directory/"
# result: /destination/directory/subfolder
Be the first to comment
You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.