Advanced · Organize files
rsync: Synchronize directories and files
Syntax
rsync -av source/destination/Options
-a- Archive mode
-v- Show details
--dry-run- Preview changes
Examples
rsync -av --dry-run projects/ backup/Usage and sandbox support
For review only. A / at the end of the source directory affects the synchronization level.
This command is for reference and review, and the simulation terminal does not provide corresponding exercises yet.
Related commands
mkdirCreate directorytouchCreate empty filecpCopy a file or directorymvMove or renamermDelete a file or directoryrmdirDelete empty directoriesfileDetermine file typestatView file propertiesbasenameGet the name at the end of the pathdirnameGet the parent directory pathgitManage code versionsmktempCreate a temporary file or directorytruncateAdjust file lengthinstallCopy and set installation permissionsrenameBatch rename based on expressionddCopy data in chunkssyncFlush file system cachesha256sumGenerate or inspect SHA-256 digestmd5sumGenerate or inspect MD5 digestcksumCalculate CRC check valuebase64Encode or decode Base64