AutoItKing Posted May 2, 2006 Posted May 2, 2006 I made this nifty little syncer which can also be used as a backup tool! It's relativley fast, to my standards. Try it and tell me if you like it? http://www.autoitking.co.nr Site is DOWN | My deviantART | No Topic Topic - Don't do it!-------------------- UDF's/Scripts:AutoIt: [BenEditor 3.6] [_ShutDown()]PHP: [CommentScript]Web Based AutoIt: [MemStats] [HTML to AU3] [User LogIn and SignUp script]
Valuater Posted May 2, 2006 Posted May 2, 2006 maybe ... just a little more info on what it does??? thx 8)
AutoItKing Posted May 2, 2006 Author Posted May 2, 2006 If a file doesn't exist in one place, it copies it into the other place. Better? Just try it! http://www.autoitking.co.nr Site is DOWN | My deviantART | No Topic Topic - Don't do it!-------------------- UDF's/Scripts:AutoIt: [BenEditor 3.6] [_ShutDown()]PHP: [CommentScript]Web Based AutoIt: [MemStats] [HTML to AU3] [User LogIn and SignUp script]
ptrex Posted May 3, 2006 Posted May 3, 2006 It's not real sync'ing but copying, isn't it . Contributions :Firewall Log Analyzer for XP - Creating COM objects without a need of DLL's - UPnP support in AU3Crystal Reports Viewer - PDFCreator in AutoIT - Duplicate File FinderSQLite3 Database functionality - USB Monitoring - Reading Excel using SQLRun Au3 as a Windows Service - File Monitor - Embedded Flash PlayerDynamic Functions - Control Panel Applets - Digital Signing Code - Excel Grid In AutoIT - Constants for Special Folders in WindowsRead data from Any Windows Edit Control - SOAP and Web Services in AutoIT - Barcode Printing Using PS - AU3 on LightTD WebserverMS LogParser SQL Engine in AutoIT - ImageMagick Image Processing - Converter @ Dec - Hex - Bin -Email Address Encoder - MSI Editor - SNMP - MIB ProtocolFinancial Functions UDF - Set ACL Permissions - Syntax HighLighter for AU3ADOR.RecordSet approach - Real OCR - HTTP Disk - PDF Reader Personal Worldclock - MS Indexing Engine - Printing ControlsGuiListView - Navigation (break the 4000 Limit barrier) - Registration Free COM DLL Distribution - Update - WinRM SMART Analysis - COM Object Browser - Excel PivotTable Object - VLC Media Player - Windows LogOnOff Gui -Extract Data from Outlook to Word & Excel - Analyze Event ID 4226 - DotNet Compiler Wrapper - Powershell_COM - New
AutoItKing Posted May 3, 2006 Author Posted May 3, 2006 It's a basic one place to another. I could add a complete sync feature? I made it in about ten minutes. http://www.autoitking.co.nr Site is DOWN | My deviantART | No Topic Topic - Don't do it!-------------------- UDF's/Scripts:AutoIt: [BenEditor 3.6] [_ShutDown()]PHP: [CommentScript]Web Based AutoIt: [MemStats] [HTML to AU3] [User LogIn and SignUp script]
ptrex Posted May 3, 2006 Posted May 3, 2006 I could add a complete sync feature? I made it in about ten minutes.OK. If that takes practically no effort. I am interested to see what it is !! Contributions :Firewall Log Analyzer for XP - Creating COM objects without a need of DLL's - UPnP support in AU3Crystal Reports Viewer - PDFCreator in AutoIT - Duplicate File FinderSQLite3 Database functionality - USB Monitoring - Reading Excel using SQLRun Au3 as a Windows Service - File Monitor - Embedded Flash PlayerDynamic Functions - Control Panel Applets - Digital Signing Code - Excel Grid In AutoIT - Constants for Special Folders in WindowsRead data from Any Windows Edit Control - SOAP and Web Services in AutoIT - Barcode Printing Using PS - AU3 on LightTD WebserverMS LogParser SQL Engine in AutoIT - ImageMagick Image Processing - Converter @ Dec - Hex - Bin -Email Address Encoder - MSI Editor - SNMP - MIB ProtocolFinancial Functions UDF - Set ACL Permissions - Syntax HighLighter for AU3ADOR.RecordSet approach - Real OCR - HTTP Disk - PDF Reader Personal Worldclock - MS Indexing Engine - Printing ControlsGuiListView - Navigation (break the 4000 Limit barrier) - Registration Free COM DLL Distribution - Update - WinRM SMART Analysis - COM Object Browser - Excel PivotTable Object - VLC Media Player - Windows LogOnOff Gui -Extract Data from Outlook to Word & Excel - Analyze Event ID 4226 - DotNet Compiler Wrapper - Powershell_COM - New
blindwig Posted May 3, 2006 Posted May 3, 2006 FYI - a decent, freely available file/folder synchronizer is RoboCopy - included in the Windows XP/2003 resource pack. I use it for synching my laptop and for doing scheduled backups on the servers. My UDF Threads:Pseudo-Hash: Binary Trees, Flat TablesFiles: Filter by Attribute, Tree List, Recursive Find, Recursive Folders Size, exported to XMLArrays: Nested, Pull Common Elements, Display 2dSystem: Expand Environment Strings, List Drives, List USB DrivesMisc: Multi-Layer Progress Bars, Binary FlagsStrings: Find Char(s) in String, Find String in SetOther UDF Threads I Participated:Base64 Conversions
nfwu Posted May 4, 2006 Posted May 4, 2006 (edited) A less commonly known application is SyncToy by Microsoft...Free when I last checked it.Much better that Windows Breifcase#)EDIT: found the dl: http://www.microsoft.com/windowsxp/using/d...to/synctoy.mspxNOTE: This application is for those people who need abosolute control over their synchornization.According to Microsoft:Now there is an easier way. SyncToy is a free PowerToy for Microsoft Windows XP that provides an easy to use, highly customizable program that helps users to do the heavy lifting involved with the copying, moving, and synchronization of different directories. Most common operations can be performed with just a few clicks of the mouse, and additional customization is available without added complexity. SyncToy can manage multiple sets of folders at the same time; it can combine files from two folders in one case, and mimic renames and deletes in another. Unlike other applications, SyncToy actually keeps track of renames to files and will make sure those changes get carried over to the synchronized folder. Edited May 4, 2006 by nfwu TwitterOut of date stuff:Scripts: Sudoku Solver | Webserver | 3D library (Pure AutoIt) | Wood's GadgetsUDFs: _WoodUniqueID() | _DialogEditIni() | _Console*() | _GetIPConfigData() | _URLEncode/Decode()
ptrex Posted May 4, 2006 Posted May 4, 2006 Thanks all for tbe nice suggestions !! But still these tools do a kind of copy and replace function. These check the status of a file in a folder, And than compare if the criteria matches, after that it will be overwritten by the copy function of the tool. If it are large files like 500 Mb large, it will generate a lot of traffic on the network to copy the files accross. What I am reffering to is as sync'ing is that the compare is done on the data in the file, rather the the on the complete file. As a result the sync'ing is als done on the changed part of the data within the files. (Like the Intellisync Software or for example the offline folders synchronisation of MS Outlook) This is true sync'ing. Contributions :Firewall Log Analyzer for XP - Creating COM objects without a need of DLL's - UPnP support in AU3Crystal Reports Viewer - PDFCreator in AutoIT - Duplicate File FinderSQLite3 Database functionality - USB Monitoring - Reading Excel using SQLRun Au3 as a Windows Service - File Monitor - Embedded Flash PlayerDynamic Functions - Control Panel Applets - Digital Signing Code - Excel Grid In AutoIT - Constants for Special Folders in WindowsRead data from Any Windows Edit Control - SOAP and Web Services in AutoIT - Barcode Printing Using PS - AU3 on LightTD WebserverMS LogParser SQL Engine in AutoIT - ImageMagick Image Processing - Converter @ Dec - Hex - Bin -Email Address Encoder - MSI Editor - SNMP - MIB ProtocolFinancial Functions UDF - Set ACL Permissions - Syntax HighLighter for AU3ADOR.RecordSet approach - Real OCR - HTTP Disk - PDF Reader Personal Worldclock - MS Indexing Engine - Printing ControlsGuiListView - Navigation (break the 4000 Limit barrier) - Registration Free COM DLL Distribution - Update - WinRM SMART Analysis - COM Object Browser - Excel PivotTable Object - VLC Media Player - Windows LogOnOff Gui -Extract Data from Outlook to Word & Excel - Analyze Event ID 4226 - DotNet Compiler Wrapper - Powershell_COM - New
blindwig Posted May 4, 2006 Posted May 4, 2006 What I am reffering to is as sync'ing is that the compare is done on the data in the file, rather the the on the complete file.As a result the sync'ing is als done on the changed part of the data within the files.(Like the Intellisync Software or for example the offline folders synchronisation of MS Outlook)This is true sync'ing.In order to sync this way, your program would need to be able to recognize every possible file format that you could be synchronizing. Since it's virtually impossible to have a single program know how to sync every possible file format, your end-result will always be a program that has a limited scope.So yes, you could write a program to sync certain types of files, but a general "all-file sync" program would be virtually impossible to create. My UDF Threads:Pseudo-Hash: Binary Trees, Flat TablesFiles: Filter by Attribute, Tree List, Recursive Find, Recursive Folders Size, exported to XMLArrays: Nested, Pull Common Elements, Display 2dSystem: Expand Environment Strings, List Drives, List USB DrivesMisc: Multi-Layer Progress Bars, Binary FlagsStrings: Find Char(s) in String, Find String in SetOther UDF Threads I Participated:Base64 Conversions
ptrex Posted May 4, 2006 Posted May 4, 2006 @blindwig Is binary comparison not the universal way to go ? I would have imagined that sync'ing based on that binary comparison, makes it format indipendent. I am not the expert Contributions :Firewall Log Analyzer for XP - Creating COM objects without a need of DLL's - UPnP support in AU3Crystal Reports Viewer - PDFCreator in AutoIT - Duplicate File FinderSQLite3 Database functionality - USB Monitoring - Reading Excel using SQLRun Au3 as a Windows Service - File Monitor - Embedded Flash PlayerDynamic Functions - Control Panel Applets - Digital Signing Code - Excel Grid In AutoIT - Constants for Special Folders in WindowsRead data from Any Windows Edit Control - SOAP and Web Services in AutoIT - Barcode Printing Using PS - AU3 on LightTD WebserverMS LogParser SQL Engine in AutoIT - ImageMagick Image Processing - Converter @ Dec - Hex - Bin -Email Address Encoder - MSI Editor - SNMP - MIB ProtocolFinancial Functions UDF - Set ACL Permissions - Syntax HighLighter for AU3ADOR.RecordSet approach - Real OCR - HTTP Disk - PDF Reader Personal Worldclock - MS Indexing Engine - Printing ControlsGuiListView - Navigation (break the 4000 Limit barrier) - Registration Free COM DLL Distribution - Update - WinRM SMART Analysis - COM Object Browser - Excel PivotTable Object - VLC Media Player - Windows LogOnOff Gui -Extract Data from Outlook to Word & Excel - Analyze Event ID 4226 - DotNet Compiler Wrapper - Powershell_COM - New
AutoItKing Posted May 5, 2006 Author Posted May 5, 2006 What, read the file contents to make sure that it's not the same file? http://www.autoitking.co.nr Site is DOWN | My deviantART | No Topic Topic - Don't do it!-------------------- UDF's/Scripts:AutoIt: [BenEditor 3.6] [_ShutDown()]PHP: [CommentScript]Web Based AutoIt: [MemStats] [HTML to AU3] [User LogIn and SignUp script]
ptrex Posted May 7, 2006 Posted May 7, 2006 Yes, indead I am talking about sync'ing the content !! How are you ohterwise going to deal with sync'ing 500 Mb files !! Unless you have Gigabit speed and lightning fast machines to work on, it will take you a wile Sync'ing the content changes only the data in the files that have been modified. This is quite different than copying files across. Contributions :Firewall Log Analyzer for XP - Creating COM objects without a need of DLL's - UPnP support in AU3Crystal Reports Viewer - PDFCreator in AutoIT - Duplicate File FinderSQLite3 Database functionality - USB Monitoring - Reading Excel using SQLRun Au3 as a Windows Service - File Monitor - Embedded Flash PlayerDynamic Functions - Control Panel Applets - Digital Signing Code - Excel Grid In AutoIT - Constants for Special Folders in WindowsRead data from Any Windows Edit Control - SOAP and Web Services in AutoIT - Barcode Printing Using PS - AU3 on LightTD WebserverMS LogParser SQL Engine in AutoIT - ImageMagick Image Processing - Converter @ Dec - Hex - Bin -Email Address Encoder - MSI Editor - SNMP - MIB ProtocolFinancial Functions UDF - Set ACL Permissions - Syntax HighLighter for AU3ADOR.RecordSet approach - Real OCR - HTTP Disk - PDF Reader Personal Worldclock - MS Indexing Engine - Printing ControlsGuiListView - Navigation (break the 4000 Limit barrier) - Registration Free COM DLL Distribution - Update - WinRM SMART Analysis - COM Object Browser - Excel PivotTable Object - VLC Media Player - Windows LogOnOff Gui -Extract Data from Outlook to Word & Excel - Analyze Event ID 4226 - DotNet Compiler Wrapper - Powershell_COM - New
blindwig Posted May 7, 2006 Posted May 7, 2006 Yes, indead I am talking about sync'ing the content !!How are you ohterwise going to deal with sync'ing 500 Mb files !!Unless you have Gigabit speed and lightning fast machines to work on, it will take you a wile Sync'ing the content changes only the data in the files that have been modified.This is quite different than copying files across.I sync 30-50GB of files every night (scheduled on Task Scheduler, using RoboCopy)The thing with scanning for binary file changes is this:Say you have a 500MB file in the original location, and the same file in the backup location. To find the difference(s), you would need to read both files, beginning to end. Let's just say that you found 100MB worth of changes. So you write those out to the backup file. So you have dealt with 1100MB - 500 MB read x 2 + 100 MB write.Best case scenario is that you read both files and there are no changes (1000MB dealt with)Worst case scenario is that you read both files and they are completely different, so you have to write 500MB out (total of 1500MB dealt with)Now, what do you do if the files are different sizes?Same situation, using a directory synchronization:Read the time stamp and file size for both files (this should only take a few bytes to accomplish. Just for arguement's sake, let's say it take 1 whole MB) and compare them. If they are different, copy the original to the backup.Best case scenario is that the files are the same, and all you had to read was the time and size info (1MB dealt with)Worst case scenario is that the files are different and you have to copy (total 501MB dealt with)So you see, the copy-method worst case scenario is still better than the compare-method best case scenario. My UDF Threads:Pseudo-Hash: Binary Trees, Flat TablesFiles: Filter by Attribute, Tree List, Recursive Find, Recursive Folders Size, exported to XMLArrays: Nested, Pull Common Elements, Display 2dSystem: Expand Environment Strings, List Drives, List USB DrivesMisc: Multi-Layer Progress Bars, Binary FlagsStrings: Find Char(s) in String, Find String in SetOther UDF Threads I Participated:Base64 Conversions
ptrex Posted May 7, 2006 Posted May 7, 2006 @blindwig If the copy method is the best method, how come that the real sync'ing programs don' t use it ? They all use differential change sync'ing based upon logfiles used to keep track of the changes. And let's say that the copy method is the way to go. Then still it does not solve the bandwith problem in case someone wants to sync while logging off. This is what most people need with a laptop. They might have files in the server and need to sync them when logging off to there local drive. With the copy method they would have to stay overnight Contributions :Firewall Log Analyzer for XP - Creating COM objects without a need of DLL's - UPnP support in AU3Crystal Reports Viewer - PDFCreator in AutoIT - Duplicate File FinderSQLite3 Database functionality - USB Monitoring - Reading Excel using SQLRun Au3 as a Windows Service - File Monitor - Embedded Flash PlayerDynamic Functions - Control Panel Applets - Digital Signing Code - Excel Grid In AutoIT - Constants for Special Folders in WindowsRead data from Any Windows Edit Control - SOAP and Web Services in AutoIT - Barcode Printing Using PS - AU3 on LightTD WebserverMS LogParser SQL Engine in AutoIT - ImageMagick Image Processing - Converter @ Dec - Hex - Bin -Email Address Encoder - MSI Editor - SNMP - MIB ProtocolFinancial Functions UDF - Set ACL Permissions - Syntax HighLighter for AU3ADOR.RecordSet approach - Real OCR - HTTP Disk - PDF Reader Personal Worldclock - MS Indexing Engine - Printing ControlsGuiListView - Navigation (break the 4000 Limit barrier) - Registration Free COM DLL Distribution - Update - WinRM SMART Analysis - COM Object Browser - Excel PivotTable Object - VLC Media Player - Windows LogOnOff Gui -Extract Data from Outlook to Word & Excel - Analyze Event ID 4226 - DotNet Compiler Wrapper - Powershell_COM - New
jzn2 Posted September 24, 2006 Posted September 24, 2006 hey where is the Script? i would like to see it... sounds fairly handy for my usb drive!
nfwu Posted September 27, 2006 Posted September 27, 2006 http://bendude.catch-free.com/autoit/upload/sync.zip#) TwitterOut of date stuff:Scripts: Sudoku Solver | Webserver | 3D library (Pure AutoIt) | Wood's GadgetsUDFs: _WoodUniqueID() | _DialogEditIni() | _Console*() | _GetIPConfigData() | _URLEncode/Decode()
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now