none
How to show what files have been copied in Command Line? RRS feed

  • Question

  • In the bat file I have typed

    "C:\Program Files\SyncToy 2.1\SyncToyCmd.exe" -R 

    and the output is :

    D:\SyncData\CCC\SyncToy>"C:\Program Files\SyncToy 2.1\SyncToyCmd.exe" -R
    Preview of CCC (D:\SyncData\, E:\CCCC\) in time 00:00:01:482.
    SyncToy action was 'Synchronize'
    Found 150 actions to perform.
    Found 2,340 files that did not require action.
    Analyzed 1,578.7 files per second.
    Avoided copying 2,943,733,558 bytes in 2,340 files.
    Saved approximately 01:38:07:00 by not copying any files.
    
    SyncToy run of CCC (D:\SyncData\, E:\CCCC\) completed at 2020/6/5 20:39:14.
    SyncToy action was 'Synchronize'.
    SyncToy options were:
            Active for run all
            All files included
            No files excluded
            Do not check file contents
            Include read-only files
            Do not include hidden files
            Do not include system files
            Backup older files (send to Recycle Bin)
            All subfolders included
    SyncToy run took 00:00:35:994.
    Copied 110,958,911 bytes in 51 files in 00:00:35:994.
    Bytes per second 3,082,659.6, files per second 1.4.
    Avoided copying 2,943,733,558 bytes in 2,340 files that did not require action.
    Saved approximately 00:15:54:933 by not copying all files.

    The output tells me "Copied 110,958,911 bytes in 51 files in 00:00:35:994."

    If I want to know the name of the "51 files" , how can I get it  in my bat file? or if there is a logfile which have the file details, I will use python to get it .

    thank you !

    Friday, June 5, 2020 12:47 PM