Task is to copy files and folders to timestamp versions including descript.ion handling, thus looking for an internal implementation in TotalCommander.
Haven't found date/time placeholder for copy nor copy option in Multi-Rename (which would be a perfect fit).
Created em_customcopy containig the following command chain:
cm_copy to prefix*
SELECTFILESB prefix*
MULTIRENAME ==Definition
The above works in general but raises "No matches found!", cm_copy seems to be executed as separate thread.
cm_wait after cm_copy only postpones the issue to copy operations taking longer than configured wait.
Is there an option or command to copy "in sequence" ?
Any other solution which handles descript.ion ?
@ghisler: Enhancement suggestion option Copy in Multi-Rename.
Thanks in advance.
how to wait for cm_copy completed in command chain em_xxx ?
Moderators: Hacker, petermad, Stefan2, white
-
- Junior Member
- Posts: 44
- Joined: 2003-02-07, 19:24 UTC
- Location: Germany
- ghisler(Author)
- Site Admin
- Posts: 50390
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: how to wait for cm_copy completed in command chain em_xxx ?
Unfortunately you can't wait for cm_copy to finish. The problem is that the progress dialog has a "background" button, therefore the operation has to be executed in a background thread so it can continue in the background if necessary (you can't abort the CopyFileEx copy function and continue it in the background).
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com