Easily find issues by searching: #<Issue ID>
Example: #1832
Easily find members by searching in: <username>, <first name> and <last name>.
Example: Search smith, will return results smith and adamsmith
Aqua Data Studio / nhilam |
Follow
827
|
\syncdir | |
Synchronizes two directories. | |
Syntax | |
\syncdir [-i] [-I] [-n] [-p] [-u] SOURCE DESTINATION |
|
Description | |
\syncdir synchronizes the DESTINATION directory with files and sub-directories as defined in the SOURCE directory. Files or directories found in the DESTINATION directory that do not exist in the SOURCE directory will be removed after synchronization |
|
Options | |
-i Prompt before overwrite. |
|
-I Prompt before removal. |
|
-n Do not remove those files and directories that are found in DESTINATION but do not exist in SOURCE. |
|
-p Preserve the last-modified time of the file. |
|
-u Copy only when the source file is newer than the destination file, or when the destination file is missing. |
|
Notes | If both -I and -n are specified, -n will take precedence. |
Examples | |
To sync a directory foo with contents of another directory named tariq: \syncdir tariq foo |
|
To sync a directory and not to remove files/directories in DESTINATION but do not exist in SOURCE. \syncdir -n tariq foo |
|
To prompt before syncing an existing file, use the -i option: \syncdir -i /home/tariq/sahil /home/foo |
About AquaClusters Privacy Policy Support Version - 19.0.2-4 AquaFold, Inc Copyright © 2007-2017