I am not getting much luck with trying to Synchronize efficiently -- which I have used often over several years now to synchronize a folder tree which has about 6Gb of assorted files to a NAS drive, one way. As it's a NAS drive it is pretty slow. I use
Name No Match ~s (Regex)
to try to filter out files of this pattern
xyz.pas.~55~
xyz.pas.~56~
xyz.pas.~57~
where the .~ + number + ~ after the original file extension .pas is a signal that this is a file I don't need to bother synchronizing.
The filter works, actually.
But it takes ages and I can see Dopus running through loads of irrelevant filenames (with .~ in them).
Is there any way this process could be speeded up?
I think I'm using the current Dopus (but cannot find an About box or anything I understand under Version in the online help Index)
to try to filter out files of this pattern
xyz.pas.~55~
xyz.pas.~56~
xyz.pas.~57~
where the .~ + number + ~ after the original file extension .pas is a signal that this is a file I don't need to bother synchronizing.
The filter works, actually. [/quote]
What makes you say the filter works? It doesn't when I try it in Find:
(Screenshot is a bit of a mess as I didn't log out after switching DPI modes.)
Re the About box, I had a modified Operations toolbar modified some versions back and had not realised that lost me the Help. Have now fixed my toolbar.
But incidentally searching gpsoft.com.au/help/opus11/index.html for the string "version" didn't help..... Perhaps a link could be made to help. It doesn't seem terribly obvious to me that to get Help one would need to activate a specific toolbar called Operations.
[quote="MikeScott"]Re the About box, I had a modified Operations toolbar modified some versions back and had not realised that lost me the Help. Have now fixed my toolbar.
But incidentally searching gpsoft.com.au/help/opus11/index.html for the string "version" didn't help..... Perhaps a link could be made to help. It doesn't seem terribly obvious to me that to get Help one would need to activate a specific toolbar called Operations.[/quote]
The Operations toolbar is on by default, so it's more that you have to not deactivate it than that you have to activate it.
If you delete parts of the default toolbars then parts of the manual become less useful. (e.g. the Update Checker page, which is found by searching for Version, but also needs the Help menu to exist.) The manual cannot foresee every change you might have made.
But the forum is still here to help when you get stuck in a way that the manual doesn't answer, and will usually give you an answer within a few hours, if not minutes.
OK, understood, and indeed answers are speedy. (I still suggest you insert something about the link between Operations and current version in the Help.)
My query though is mostly about Synchronize. If I set a filter as
[b]Name No Match ~$ /b
to try to filter out files of this pattern
[ul]xyz.pas.~55~
xyz.pas.~56~
xyz.pas.~57~
[/ul]where the .~ + number + ~ after the original file extension .pas is a signal that this is a file I don't need to bother synchronizing it takes ages and I can see Dopus running through loads of irrelevant filenames (with .~ in them).
Is there any way this process could be speeded up? I use v. 11.15 x64 build 5666.
Are those files ending in ~ being copied, or do you mean you see something else happening?
Can you show us some before & after screenshots of the folders showing some unwanted files were copied, as well as screenshots showing how the sync dialog and filter are set up?
No they don't get copied. But they seem to get considered, which is what puzzles me:
Would it be possible (and speedier) to omit them when building up the list of source text files needing considering (or possibly to omit showing their names when building up the list)?
I have conducted a time test and cannot note any difference in the time when attempting to synchronize a subset of only 1.39 GB one way from an external USB3 drive to a NAS drive. Both take about 30 seconds. Surely it ought to be faster with a filter? But I do see unwanted filenames in the "Comparing files for Synchronization" section. The names beside "Current item" flash by so fast I cannot get a screenshot (even if I choose the NAS drive as source) but do I see .~. None of the filenames contain ~ except the ones I want to filter out. Is it possible that the items being shown by "Current item" contain ones that should be filtered out? I know most of the reason it takes ages is that I'm synchronizing a slowish NAS drive .... but that is exactly where I need to keep backups.....
My settings
Mode : one way copy (from External to NAS drive)
Compare: date(different) or size
Hide unaffected files
Synchronize sub-folder contents
DST compensation
and the filter as described above.
On the External drive there are 1,602 files which have .~* extensions (out of 125,298) and
on the NAS drive 2,783 out of 130,675, so these files are a minority, but this has perplexed me for a frustratingly long time.
Just considering the files takes almost no time at all. The slowdown may be coming from elsewhere, or just the amount of time it takes to read in all the directories and collate everything.
If you don't need interactive synching, and just want to copy changes/updates from one folder to another, then using a normal copy with the Copy Filter will be more efficient. There's an outline of how to do that in a concurrent conversation going on here.
Still struggling here, Leo. I read that link and a lot of other things besides and now am failing to create a simple script to go in a toolbutton to do the Copy with Filter. I do not want an ad hoc filter which once defined I cannot see and edit, but to use one I've defined (it's ~$ in Regex mode). Every single script I write gives me grief. Can you please show me what I need to write in the Advanced command editor?
I have tried
CLI SCRIPTMODE
That fails with error Type mismatch: 'CLI' (ox800a000d) yet the Internal Commands reference for CLI specifies exactly literally that.
I have also tried
COPY UPDATEALL FILTER="XXX" where XXX is a filter I've defined but again I just get error messages which don't show me a suitable model to copy.
The filter I defined is called Delphi_update. I defined it in Preferences and as I said before the one line in it is
[quote]Name Nomatch ~s[/quote] and Use regular expressions is checked.
If I assign to a button
and run it, I get
[quote]Expected end of statement (ox800a0401)
Parse error - script aborted
[/quote]
If I could attach a picture I could do that too (but don't know how to)
What I would like is a good EXAMPLE to follow. I must have misunderstood some vital step, had assumed what I wanted to do was assign to a new button a function I wish to use and re-use often. (I have a number of such useful buttons.) Was that my mistake perhaps, or could I run Dopus from a command line? (couldn't see a sign of that when searching the Forum or the Help.)
Your regexp has the letter s again instead of $. Details like that are why I'm keen to get a screenshot, to make sure the real thing is correct.
If the CLI is giving you "script aborted" then it is still in script mode. You need to turn off script mode, as per above.
You can attach screenshots to forum posts by clicking Full Editor & Preview (next to the Submit button) when replying, and then using the Attachments tab below the full post editor. You can upload screenshots in JPG, PNG and GIF formats.
To make a screenshot in Windows 10, push Win + PrtScn and a PNG of the desktop will be saved into /mypictures/Screenshots. Or you can push PrtScn (the whole screen) or Alt+PrtScn (the active window) to put a screenshot into the clipboard, then use Ctrl+V to paste it to a file in Opus.
DOPus is a brilliant product and I have used it for goodness knows how many years but the finer features are sometimes tricky to get right.
Is there a detailed Help specifying this that I missed? I do search the index of Help and search the Forum but no luck; what I needed was a simple example ideally with screenshots.