First, make sure I understand exactly what you'd like to accomplish before you do anything.
So for example, you have 12 files total, some of which exist in both the Source and Destination listers:
[ul][li] #1-3 Exist only in the Source
NOTE: I want to be sure about this item, because it means you will lose files that were in the Source, without moving them to the Destination.
[/li]
[li] #4-6 Exist in both the Source and Destination, but are newer in the Source[/li]
[li] #7-9 Exist in both the Source and Destination, but are newer in the Destination[/li]
[li] #10-12 Exist only in the Destination.[/li][/ul]
You want to:
[ol][li] #1-3 DELETED (not retained anywhere)[/li]
[li] #4-6 Copied to Destination, overwriting the current Destination copies, and deleted from the Source.[/li]
[li] #7-9 Deleted from the Source (they are already current in Destination)[/li]
[li] #10-12 Nothing will be done, as they are not part of the operation.[/li][/ol]
If all the above are correct, this is the Raw Command sequence you should use:
Copy MOVE UPDATEEXISTING=date FORCE
If I am wrong about files #1-3, and you wanted to retain a copy of them, the command should be:
Copy MOVE UPDATEALL FORCE
[EDIT] The UPDATEALL does not support the date qualifier (I see an enhancement request coming). Unfortunately, that would mean that a file that was older in the Source would overwrite a newer one in the destination, if its size were different.
If my first command suggestion isn't want you wanted (i.e. deleting files #1-3), then you will need to use the synchronize utility.
If I am wrong about files #1-3, and you wanted to retain a copy of them, the command should be:
Copy MOVE UPDATEALL FORCE
is correct, I THINK.
What I want to do is have the most recent copy of all files in Destination, with nothing in Source.
Name, extension, and date have to be the same. If any of these are different, the files are NOT the same. If Namne and extension are the same, but date/ time is different, then the most current file would be kept.
This would give me the most recent version of all files in Destination, with nothing in Source.
For an easy visual, take a look at ghisler.com/, Total Commander. with default installs it has a "Move button at the bottom of the screen which does just that: picks up a file in the Source pane (like DOpus' Commander Style) and puts it in the Destination pane... unless it's already in the Destination pane, and then you get a query to skip overwrite, overwrite the older ...
fabulously useful... at least for me... Not enough o go back to Total Commander for, but surely worth trying to duplicate.
Regards,
Chuck
[quote="kenalcock"]First, make sure I understand exactly what you'd like to accomplish before you do anything.
So for example, you have 12 files total, some of which exist in both the Source and Destination listers:
[ul][li] #1-3 Exist only in the Source
NOTE: I want to be sure about this item, because it means you will lose files that were in the Source, without moving them to the Destination.
[/li]
[li] #4-6 Exist in both the Source and Destination, but are newer in the Source[/li]
[li] #7-9 Exist in both the Source and Destination, but are newer in the Destination[/li]
[li] #10-12 Exist only in the Destination.[/li][/ul]
You want to:
[ol][li] #1-3 DELETED (not retained anywhere)[/li]
[li] #4-6 Copied to Destination, overwriting the current Destination copies, and deleted from the Source.[/li]
[li] #7-9 Deleted from the Source (they are already current in Destination)[/li]
[li] #10-12 Nothing will be done, as they are not part of the operation.[/li][/ol]
If all the above are correct, this is the Raw Command sequence you should use:
Copy MOVE UPDATEEXISTING=date FORCE
If I am wrong about files #1-3, and you wanted to retain a copy of them, the command should be:
Copy MOVE UPDATEALL FORCE
[EDIT] The UPDATEALL does not support the date qualifier (I see an enhancement request coming). Unfortunately, that would mean that a file that was older in the Source would overwrite a newer one in the destination, if its size were different.
If my first command suggestion isn't want you wanted (i.e. deleting files #1-3), then you will need to use the synchronize utility.[/quote]
[quote]
Total Commander. with default installs it has a "Move button at the bottom of the screen which does just that: picks up a file in the Source pane (like DOpus' Commander Style) and puts it in the Destination pane... [/quote]
Ah um, did you not see the MOVE button in the Opus toolbar?
That will move the selected items in the Source to the destination. If you wish to be more selective, you could use the Advanced Select and choose 'Compare' (plus what you want) and this will then select only the files in the Source that are newer.
Or, select all the files in the Source and go to File Commands - UPDATE EXISTING.
From his example, I think what might be nice is if the normal copy dialog had something like an 'Update with newer files only' sort of option added to the 'Replace' drop down. Actually, wherever 'ergonomically feasible' it's nice when standard dialogs reveal something of the more advanced options that are otherwise also available.
Yes, it's an "Update with Newer" that would be great on both / either Move or Copy.
That would make the job a lot easier. Because when I just used the Copy button on a file that was there already, there was no indication of the completion or any inquiry (Are you sure?)
Why not make you own custom copy commands then? Opus certainly supports our doing that.
For example if you go to the menu command of
SETTINGS/FILE TYPES
Then in the DIRECTORY OPUS FILE TYPES section select the one for ALL FILES AND FOLDERS
And in that click on the DROP MENU tab
And there you can enter a whole slew of custom copy or move or whatever you want in the line of a specialized copy processes. Below is a screen shot of mine. To use them simply right click drag and drop the files you want to copy or move and up pops your very own custom menu to ask you how you want to copy or move the files/folders.
Custom commands is undoubtedly a solution... I just gotta find my Coder hat before I set out on that path...
Chuck
Why not make you own custom copy commands then? Opus certainly supports our doing that.
For example if you go to the menu command of
SETTINGS/FILE TYPES
Then in the DIRECTORY OPUS FILE TYPES section select the one for ALL FILES AND FOLDERS
And in that click on the DROP MENU tab
And there you can enter a whole slew of custom copy or move or whatever you want in the line of a specialized copy processes. Below is a screen shot of mine. To use them simply right click drag and drop the files you want to copy or move and up pops your very own custom menu to ask you how you want to copy or move the files/folders.
Or either your 'copy and pasting' or 'RTFM' hat - LOL. Just playing...
I would think that the Copy MOVE UPDATEALL command suggestion offered by Ken is what you're after...
Either that - or as Greg suggests - check out the 'Synchronize' utility built into Opus.
Edit Note- The manual is great of course - but also realize that for the internal functions which you can use in your own custom context menu commands or toolbar buttons... the online (F1) help has pretty good explanations of the commands and their arguments. If you goto help, you can look at a mostly complete summary in the very last section under the 'Contents' help tab - "Raw Commands Reference Tables".
woopsy - we overlapped... I just posted an edit note above about the internal functions used in 'Custom Commands' etc. The online help is pretty good and just missing some of the arguments we can use which were added in the recent 'dot' releases. And you can always yell here for help... this is where the power lies my friend.