The options are pretty simple and don’t need further documentation here. If a file has been changed on both sides, the newer file wins. If a file has changed it will detect it and copy the file to the other folder. If you create a new file in folder2 and run csync, it will copy the new file to folder2. If you delete a file in folder1 it and run it again, csync will notice that the file has been deleted in folder1 and will delete it in folder2. If you run it the first time, this line compares the both directories and copies the files missing in each other directory to the opposite side. Here is the simple example of syncing two folders from terminal: Unless like rsync it syncs in two directions so that the contents are equal as soon as it finished. The tool is called csync and is a client side file synchronizer. I’ll show you how to to synchronise files of two different directories in a terminal using a mighty automator.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |