Quantcast
Channel: Total Commander
Viewing all articles
Browse latest Browse all 4279

TC suggestions (English) • Re: Copy Timestamp Feature (only for marked directories)

$
0
0
Hello Dalai,
Use Case is very simple. After synchronizing directories with file, the directory timestamp of source and target should be same, so I know that they have a synced status. If timestamp is diefferent, if have to check manually the directory of source and target about the files in there.

So the timestamp of the directory can be an indicator for "Synced status". In practical terms the Use case described in another way. After downloading three docuements, I copy them first in my main document folder "d:\Magazines\Unread"".

Right after I move them from the Downloadfolder to my Backuptdrive "S:\Magazines\Unread".
The same thing I can do as well with Folder Sync of Total Commander and syncing the Source "d:\Magazines" and the Target "S:\Magazines"

Now the but:
After copying or syncing the "Unread" folder of "d:\Magazines" with the existing "s:\Magazines", all the subfolders incl. the new files will be copied and synchronized. But the Timestamps of the Subfolders of Source and Target are different, because timestamps of existing folders in Target will not changed ebevn when new files are copied in there.

That´s why a manual Timestamp Copy of Folders would make sense.

Anyway, I created now the following Robocopy command which would do that and what I can add in the Buttonbar of TC:
robocopy /e /timfix /dcopy:t /copy:t d:\Magazines S:\Magazines

This copies all timestamps of directories and subdiresctories

But I am still struggling to put that in the Buttonbar commandline, that it is executed correctly. Left pane is on "d:\Magazines", right pane on "S:\Magazines".

But if I create the Buttonbar Command
robocopy /e /timfix /dcopy:at /copy:t %P %T
the two paramters %P (Source Path) and %T (target Path) are not handed over to the robocopy Commandstring.

Tried it as well in the parameter field and alos with quotation marks before and after.
Finallly I alos tried a simplified command like "cd %P" to see if TC would execute this via Buttonbar. But also there the %P is not handed over to the cd command.

What am I doing wrong - where is the Syntax bug for handing over the Source and Target Path to the command?

Any help welcome. If correct Syntax will be found, I can create a Buttonbar command, where I can quickly synchrionize the Timestamp of Source and Target Folder incl. Subfolders. And that´s what I need.

So I am looking forward for your help here to implement that Buttonbar command correctly.

Regards and thx in advance,
jnauth

Statistics: Posted by jnauth — 2025-02-11, 19:18 UTC



Viewing all articles
Browse latest Browse all 4279

Trending Articles


Vimeo 10.7.1 by Vimeo.com, Inc.


UPDATE SC IDOL: TWO BECOME ONE


KASAMBAHAY BILL IN THE HOUSE


Girasoles para colorear


Presence Quotes – Positive Quotes


EASY COME, EASY GO


Love with Heart Breaking Quotes


Re:Mutton Pies (lleechef)


Ka longiing longsem kaba skhem bad kaba khlain ka pynlong kein ia ka...


Vimeo 10.7.0 by Vimeo.com, Inc.


FORECLOSURE OF REAL ESTATE MORTGAGE


FORTUITOUS EVENT


Pokemon para colorear


Sapos para colorear


Smile Quotes


Letting Go Quotes


Love Song lyrics that marks your Heart


RE: Mutton Pies (frankie241)


Hato lada ym dei namar ka jingpyrshah jong U JJM Nichols Roy (Bah Joy) ngin...


Long Distance Relationship Tagalog Love Quotes