Incremental Copy command
Any please help me for incremental copy command similar to windows.
commad for copying in windows is c:\ source\ xcopy *.* destination\ /s/c/d/q/y any similar command is there in linux as I m new in Linux |
IDK what /s/c/d/q/y do but the rsync command can usually do what XCOPY does and a whole lot more.
|
please help in giving and usage of rsync command. does it do incremental copying like, updating only update files and folders
|
rsync is very fully featured so not practical to explain how to use it here, especially not knowing the effect of those XCOPY switches. Have a look here and post again if you get stuck.
|
Code:
rsync -av $SOURCE $TARGET This is NOT a mirror, means files deleted in source are not deleted in target and vice versa. For further more information use Code:
man rsync |
All times are GMT -5. The time now is 06:05 PM. |