|
|
|
|
|
Features.
Sync Folders Pro is available on the Apple App Store. |
Sync modes. (Bidirectional synchronization mode) If you add, change, or delete a file from one location, the synchronization process will add, change, or delete the same file from the other location. The locations contain the same up-to-date information after each synchronization. During the first synchronization the synchronization process adds all the missing files to all locations, older files are overwritten by newer files. During subsequent synchronizations the program tracks all changes (additions, deletions, changes) in each location, older files are overwritten by newer files or they are deleted if their counterpart has also been deleted. Attention! You should use bidirectional Sync Mode A<->B with caution. If you delete a file from one location, the synchronization process will delete the same file from the other location. If you synchronize a local folder with a network folder and then connect the other network folder with the same name, the synchronization process will delete files from the local folder that are missing in the network folder. (Bidirectional synchronization mode without the tracking deletions) If you add or change a file from one location, the synchronization process will add or change the same file from the other location. Both locations contain the same up-to-date information after each synchronization. The synchronization process adds all the missing files to all locations during the first and every next synchronization. (Bidirectional synchronization mode without the tracking deletions, without the tracking additions) If you change a file from one location, the synchronization process will change the same file from the other location. The synchronization process does not add files to other locations. The app syncs the existing files only. (Backup mode) All new files / subfolders that have been added to the "Folder A", will be copied to the "Folder B". (Backup mode) All new files / subfolders that have been added to the "Folder B", will be copied to the "Folder A". (Mirroring backup mode) This mode backs-up "Folder A" to "Folder B", creating a mirror "Folder A" in the "Folder B". (Mirroring backup mode) This mode backs-up "Folder B" to "Folder A", creating a mirror "Folder B" in the "Folder A". (Restore mode) The synchronization process restores the files from "Folder A" to "Folder B". (Restore mode) The synchronization process restores the files from "Folder B" to "Folder A". |
Preview before sync. Stay on the "Preview" tab and click the "Sync Current Task" button to perform file operations from the Preview table. The app will read the file structure again if you go to another tab and click the "Sync Current Task" button. |
File operations. You can change the operation before sync, if required.
The synchronization process will copy file from the "Folder A" to the "Folder B". If the file exists in the "Folder B", the synchronization process will delete the old file version from the "Folder B" before copying.
The synchronization process will copy file from the "Folder B" to the "Folder A". If the file exists in the "Folder A", the synchronization process will delete the old file version from the "Folder A" before copying. (Resolving the file versions conflict) The synchronization process will copy file from the "Folder A" to the "Folder B". If the file exists in the "Folder B", the synchronization process will rename the old file version in the "Folder B" before copying. The new name of the file will contain current date and time. (Resolving the file versions conflict) The synchronization process will copy file from the "Folder B" to the "Folder A". If the file exists in the "Folder A", the synchronization process will rename the old file version in the "Folder A" before copying. The new name of the file will contain current date and time.
The synchronization process will copy file from the "Folder A" to the "Folder C". If the file exists in the "Folder C", the synchronization process will delete the old file version from the "Folder C" before copying.
The synchronization process will copy file from the "Folder B" to the "Folder C". If the file exists in the "Folder C", the synchronization process will delete the old file version from the "Folder C" before copying.
The synchronization process will delete file from the "Folder A".
The synchronization process will delete file from the "Folder B".
The synchronization process will delete files from the "Folder A" and "Folder B". |
Changing the file operation for multiple items First way: Second way: |
Execution operations for the selected items of the Preview table. |
Groups of items of the Preview table. |
Drive Types The type of file system on the drives to be synchronized defines timestamp information. Mac OS. The drive supports saving the original timestamp on the Mac when copying. You should set this mode if folder A and folder B are on drives using Mac OS file system. FAT32, ExFAT. Timestamp may differ from the original timestamp by several seconds after copying. You should set this mode if folder A or folder B on the drive with file system FAT32, ExFAT, etc. Drive doesn’t support the saving original timestamp of Mac when copying. Some NAS types. You should set this mode if folder A or folder B are on a drive which doesn’t support the saving the original timestamp when copying. The synchronization speed may decrease when this mode is selected. The drive doesn’t support copying all file attributes, but supports to copying the timestamp. You should set "Mac OS. Drive supports the saving original timestamp of Mac when copying." mode and use solution here. |
Filter settings. You can setup the Filter by the beginning, ending, exact match, any match the string. For example you can write a script for the filter as: =begin=String1, or =end=String2, or =exact=String3, or ==String4. You can use complex filtering conditions as: (=begin=2009, and =end=.jpg,) or (=begin=2010, and =end=.png,) Folder Filter. To exclude folders "folder1", "folder2", "folder3" you should write a script for the "Folder Filter" as: !=folder1, and !=folder2, and !=folder3 To include folders "folder1", "folder2", "folder3" you should write a script for the "Folder Filter" as: ==folder1, or ==folder2, or ==folder3 File Filter. To exclude files with extensions ".pages", ".doc", ".pdf" you should write a script for the "File Filter" as: !end=.pages, and !end=.doc, and !end=.pdf To exclude hidden files you should write a script for the "File Filter" as: !begin=. To exclude files with extensions ".jpg" and files "desktop.ini" you should write a script for the "File Filter" as: !end=.jpg, and !exact=desktop.ini To exclude files with extensions ".pages" and name which begin with string "2009" you should write a script for the "File Filter" as: not (=begin=2009, and =end=.pages,) To include files with extensions ".pages", ".doc", ".pdf" you should write a script for the "File Filter" as: =end=.pages, or =end=.doc, or =end=.pdf To include files with extensions ".pages" and name which begin with string "2009" you should write a script for the "File Filter" as: =begin=2009, and =end=.pages To include files which begin with string "2009" and have extension ".jpg" and files which begin with string "2010" and (=begin=2009, and =end=.jpg,) or (=begin=2010, and =end=.png,) |
Move deleted files to the "_DelSyncFiles" folder. Switching on this mode is highly recommended. This done through /Tasks/Main settings. When enabled deleted files or subfolders of Sync-Folders A/B within a Task will not be lost, because they will be deposited automatically in a subfolder "_DelSyncFiles" quasi mirrored, at the "same place" (the subfolders' structure will be copied, too). "Replacing" mode means the last deleted file will "replace" the preceding deletion-copy with same name. With "Adding" mode you will gather all deleted versions in the "_DelSyncFiles-folder", which can use a lot of storage. Hint: Pay attention to the path of a file when searching (in this Mac) with Finder, otherwise you could take over accidently an old version from your _DelSyncFiles-subfolder. |
Tracking changes Reset. The reset button initiates erasure of all gathered information about the current task (structure of Sync-Folders A/B, files and their changes). After the reset the structure of Sync-Folders A/B and their files will be read, and pairs of folders/files will be synchronized depending on the settings. Sometimes installation of a new version of the program requires a reset before the first synchronization. Information on this will be in the description of the update. Hint: After deletion of files within a task, first synchronize the subfolders A/B with each volume (e.g. stick, server-drive) you use before the tracking changes reset. Otherwise you will "regain" the deleted folders/files that you didn’t want anymore. |
Allowable deviation of File Modification Date [sec.] This feature controls operations with files when the files have deviation in the File Modification Date within the specified value. You should setup it to 2-10 seconds, if you sync folders on the drive with FAT32. |
Comparison modes Timestamp The app compares the files by file modification date (Timestamp) only. Timestamp+Size The app compares the files by file modification date (Timestamp) and file size. Timestamp+Size+Checksum The app compares the files by file modification date (Timestamp), file size and data file checksum (sha1). Timestamp+Checksum The app compares the files by file modification date (Timestamp) and data file checksum. |
Real Time Synchronization mode. The "Real Time Sync" mode instantly synchronizes changes in folders with any number of subfolders and files (including those with a lot of subfolders and files). In this mode, the app finds and reads only the changes and synchronizes folders without reading the file structure of folders. So synchronization is performed faster and the app uses low CPU and RAM. It works for OS X 10.8 and later. The "Real Time Sync" mode supports the main types of files as: .pages, .txt, .pdf, .doc, .docx, .xls, .xlsx, .ppt, .pptx, .dot, .ods, .jpg, .png, .avi, .mov, and etc. The "Real Time Sync" mode doesn't support the following type files: hidden files and subfolders, some of the alias of other OS. Tracking Deletions (for the "Real Time Sync" only). This mode allows you to disable the "Tracking Deletions" for the "Real Time Sync" mode only. The "Real Time Sync" without the "Tracking Deletions" works faster, because the app doesn't scan the files for deletion. You should use this mode if you need to track deletion the files which wasn't changed or added during using the "Real Time Sync". The "Real Time Sync" without the "Tracking Deletions" mode supports tracking deletions only for the files which was changed or added during using the "Real Time Sync" mode. Tracking changes subfolders (for the "Real Time Sync" only). This mode allows you to disable the "Tracking changes subfolders" for the "Real Time Sync" mode only. The "Real Time Sync" without the "Tracking changes subfolders" works faster, because the app doesn't scan the subfolders which are changed. You should use this mode if you need to track changes in the subfolders which wasn't changed or added to during using the "Real Time Sync". If you changed a lot of files at the same time, then you should make a few iterations to complete the synchronization until you get a message in the log file as "COMPLETED SUCCESSFULLY There are no files for changes for the task:". Before using the "Real Time Sync" please either check that all types your files support it or don't use the mode sync A<->B with the "Real Time Sync" or use mode "Move files for deleting to "Delete folder"". |
Before sync check the changes in the folders after last With this feature the app check the changes in the synced folders before starting a full synchronization process. Use of this feature is recommended if you are not sure about any changes to the synced folders. This will speed up the synchronization and reduce CPU and RAM Mac. |
Protection during copying. We recommend to use this feature always. It is an insurance against losing your files. If you disable this feature, then you could lose your files in the following case: You are using the synchronization mode "A<->B" or "A<+>B". During copying a large file an external drive or folder has been shut down or disconnected. As a result the file was copied not completely or not correctly, and subsequently you synced the folders again. |
Resolving the file versions conflict. A sync conflict occurs when the app can not reconcile differences between a file stored in one location and a version of the same file in another location. This usually happens when a file has changed in both locations since its last sync, making it difficult to determine which changes to save. If you enable the "Resolving the file versions conflict" mode, the app will rename the file with an earlier timestamp to the file with a timestamp prefix (FILENAME-yymmdd-hh-mm-ss) and copy the file with the later timestamp. So you get two versions and can choose the version manually after sync or use the two file versions. If you disable the "Resolving the file versions conflict" mode, the app will copy the file with the later timestamp. So you get the file version with the later timestamp in two locations. |
Network settings. Disconnect network folders after sync. To set up the mode "disconnect a network folders after sync", do the following:
|
Settings. Scan the task list for sync every __ sec. After turn on the "Auto Sync" mode the app will scan all stored tasks every N seconds (where the "N" is value of "Scan the tasks for sync every N sec."). If the date of "Next Sync" of a task is less than or equals the current date, then this task will be synced with help from the "Standard Sync" or the "Real Time Sync". You should set "Scan the tasks for sync every __ sec." to 0.5 - 1 sec., if you need exact time of the sync, but this uses more CPU. You should set "Scan the tasks for sync every __ sec." to 3-60 sec, if you don't need exact time of the sync. This also reduces the amount of CPU used. Don't get the package size (.app, .pkg, etc.) This feature disables calculation of the size of packages, thereby increasing the speed of synchronization. When using this feature the calculated time until the end of synchronization may be in noticeably in error if the synchronized folders contain large packages. If the synchronized folders do not contain packages, this feature has no effect on the progress of the synchronization. If the application performs the synchronization in the background and you do not care to see the progress of the synchronization, use this feature. This will increase the speed of synchronization. Mode of reading the file structure. macOS - reading file structure using the Mac OS X SDK. Unix1 - reading file structure using rsync utility. Unix2 - reading file structure using find utility. The Unix1 mode is faster when you sync over 1 000 000 files. Optimize Database. The database is used to compare the file structures and storage of information about the last synchronization. The procedure "Optimize Database" reduces the size of the database and increase the speed comparison the file structures. Usage is recommended if you delete synchronization tasks or sync speed decreases. |
Automatic synchronization mode. To use the "Auto Sync" mode set the following features: on the tab "Settings":
on the tab "Tasks":
on the tab "Tasks"/ tab "Auto Sync":
After turn on "Auto Sync" in menu bar or enable the checkbox "Auto Sync Tasks" on tab "Settings", the app scans and checks the tasks for the sync every __ sec. according with value of "Scan the tasks for sync every __ sec." on the tab "Settings". If the date of "Next Sync" of the task less or equal the current date then this task will be synced with help the "Standard Sync" or the "Real Time Sync". If you need frequent syncization then set the "Scan the tasks for sync every __ sec." to 0.5 - 1 sec. Note, this uses more CPU. If you don't need nearly continuous synchronization then set the "Scan the tasks for sync every __ sec." to 3-60 sec, also the app will not use much CPU. If you need sync one task every 30 minutes, please make the following setup: on the tab "Settings":
on the tab "Tasks"/ tab "Auto Sync":
If you need sync all tasks every 30 minutes, please make the following setup: on the tab "Settings":
on the tab "Tasks"/ tab "Auto Sync"
or on the tab "Settings":
on the tab "Tasks"/ tab "Auto Sync"
The feature "Timer before auto sync ___ sec." needs for visual show in menu bar that your tasks will be synced within __ seconds. This can be useful if you edit the document and you want the changes will be synchronized. You can see that the timer is running. You can see how many seconds to start syncing. And you should save the document before the app will begin synchronization. |
Scheduled synchronization mode. |
Use Rsync to copy. Sync Folders Pro uses the rsync utility to copy files. |
Use shell command to copy. For feature "Use shell command to copy" you can use complex script as: if test -e filePathTo; then mkdir -p folderPathTo/_DelSyncFiles/folderSubPath; cp -a filePathTo folderPathTo/_DelSyncFiles/fileSubPath; fi; mkdir -p folderPathTo/folderSubPath; if cp -a filePathFrom filePathTo; then echo "0"; fi; ThefilePathFrom, filePathTo, folderPathFrom, folderPathTo, folderSubPath, fileSubPath are variables here. if test -e filePathTo; //check out that the old version of the file exist then mkdir -p folderPathTo/_DelSyncFiles/folderSubPath; //creates a subfolder for the old version of the file cp -a filePathTo folderPathTo/_DelSyncFiles/fileSubPath; fi;//copies the old version of the file in the "_DelSyncFiles" subfolder. mkdir -p folderPathTo/folderSubPath;//creates a target folder before copying file if cp -a filePathFrom filePathTo; then echo "0"; fi;//copies the new version of the file to the target folder and returns "0" if the copy was successful. Please, use this feature very carefully for the modes: "A<->B", "A<+>B". It is strongly recommend scripts be check out on test data before use on real data. "0" is returned to the app when the operation was successful, at which the app writes to the DataBase that the file has been copied successfully. If the script didn't copy the file, but the script returned "0" to the app, then for mode "A<->B", "A<+>B" you can lose files. If the script doesn't return "0" to the app, then you get a red icon and the app will write to the DataBase that the file can't be copied. Please don't use this feature if you don't understand how to write or edit the script. Solutions using the "Use shell command to copy" mode. Try these on test data before use!
To copy files that have been modified since a particular date.
specificDate="201403200100"; without mode "Move Deleted Files to _DelSyncFiles Folder":
specificDate="201403200100"; To copy to another folder JUST the files created in the last 7 days - not including the ones that are being created "today" - just the files created "yesterday" and 6 days before yesterday.
specificDate=$(date "+%Y%m%d"); To sync files less than 370 KB.
specificSize="370";
Files will delete from a source after copy to a target.
if test -e filePathTo; without mode "Move Deleted Files to _DelSyncFiles Folder":
mkdir -p folderPathTo/folderSubPath; with delete the empty subfolders:
mkdir -p folderPathTo/folderSubPath; To add new files only without replace new file version, you should use "A+>B" mode and enable mode "Use shell command to copy:". if test -e filePathTo; then echo "1"; else mkdir -p folderPathTo/folderSubPath; if cp -a filePathFrom filePathTo; then echo "0"; fi; fi;
To limit the copying speed you should use the following command "rsync -a --bwlimit=10". if test -e filePathTo; then mkdir -p folderPathTo/_DelSyncFiles/folderSubPath; cp -a filePathTo folderPathTo/_DelSyncFiles/fileSubPath; fi; mkdir -p folderPathTo/folderSubPath; if rsync -a --bwlimit=50 filePathFrom filePathTo; then echo 0; fi; Check out that you paste the correct command "rsync -a --bwlimit=50", not "rsync -a —bwlimit=50".
To exclude files with the tag that equivalent the tag for file with location /Users/UserName/Desktop/Test/1.txt.
tagFileEx=$(xattr -px com.apple.metadata:_kMDItemUserTags /Users/UserName/Desktop/Test/1.txt); To include files with the tag that equivalent the tag for file with location /Users/UserName/Desktop/Test/1.txt.
tagFileEx=$(xattr -px com.apple.metadata:_kMDItemUserTags /Users/UserName/Desktop/Test/1.txt); The drive type doesn’t support to copy all file attributes, but supports copy timestamp.
mkdir -p folderPathTo/folderSubPath; |
Status of synchronization in Menu bar.
|
|
|
|
|
|
|
|||||||||||||||||
Copyright © 2024 GreenWorldSoft . All rights reserved. | Site map |