![]() ![]() In my example I determined the two Folders I wanted to sync – F1 & F2) and decided thath both folders had to be considered as Master by the software. ![]() Synkron is a multi platform software (Linux, OSX, Windows and portable ) written in C++ that is really flexible for all multitasking synchronization needs.įirst of all, Synkron is multi-tab and this is a winning features because it let you to “slice” any problem (synchronization matter) into simple, easy to solve, tasks. ![]() Many times the synchronization was unidirectional and I was not able to run it properly just using grsync still I found one right solution with Synkron. The described scenario is common in the everyday working life and it is conceptually not hard to solve… in theory… When I tried to set up the above described operations using grsync on Fedora and Ubuntu I had big problems to obtain an acceptable result. Moreover, I need to erase the Documents folder F1 as soon as it is synchronized with its mirror F2 in the encrypted volume. This also means that when I am out of the office and I add a file in the online storage host (F4) the document is automatically copied to the client folder of the remote storage hosting and to the folder located in an encrypted volume/partition (F2 and F3). ![]() This last folder (F2) automatically synchronize its content with a third folder (F3), located in the same encrypted volume/partition, that is the client folder of a remote storage hosting (F4). In my specific case I need to automate a synchronization between a folder (F1) where I usually save my office files (Documents) with a second folder contained, for security reasons, in an encrypted volume/partition (F2). A good synchronization between files or folders is something you need everyday but it could become a nightmare if you miss something. XD Exclude directories matching given names/paths.įor the list of flags, please refer to The Ultimate Guide to Robocopy.Sometimes it is really easy, other times you waste your time. XF Exclude files matching given names/paths/wildcards. MON:1 Monitor source run again when more than 1 change seen. TEE Output to console window, as well as the log file. V Produce verbose output, showing skipped files. MT Do multi-threaded copies with 8 threads. FFT Assume FAT file times (2-second granularity). ZB Use restartable mode if access denied use backup mode. ".Sync*", ".Box Sync", "_private", and "Outlook Files").Īlso this repeats itself every minute and/or single change of file/folder.įLAGS /E Copy subdirectories, including empty ones. (exclude folders including files in these folders: "Rubbish", My command is like this ROBOCOPY "Source_Folder" "Destination_Folder" /E /ZB /XJ /XF "~*.*" "*~.*" "desktop.ini" "Thumbs.db" "*.torrent" ".lock" ".Sync*" /xd "Rubbish" ".Sync*" ".Box Sync" "_private" "Outlook Files" /FFT /MT /R:2 /W:5 /V /MON:1 /TEE To do the sync between two folders (incremental sync). I use the ROBOCOPY command and made a command line ![]()
0 Comments
Leave a Reply. |