rsync -va srcFolderPath/ dstFolderPath/
Copy everything from srcFolder to dstFolder and delete any files that does not exist in srcFolder
rsync -va --delete srcFolderPath/ dstFolderPath/
then a folder named "srcFolderPath" will be created and saved into dstFolderPath.
No comments:
Post a Comment