SharpFileTimeSetter_dotnet_3.5.exe
Usage: SharpSharpFileTimeSetter --file <path> [--get] [--creation <date>] [--modification <date>] [--access <date>]
SharpFileTimeSetter --sync <sourceFile> <targetFile>
Example:
SharpFileTimeSetter --file test.txt --creation "2025-01-01 12:00:00" --modification "2025-01-02 14:00:00"
SharpFileTimeSetter --file test.txt --get
SharpFileTimeSetter --sync source.txt target.txt
Arguments:
--file Path to the target file (required).
--get Get the current creation, modification, and access time of the file.
--creation Creation time to set (optional, format: yyyy-MM-dd HH:mm:ss).
--modification Modification time to set (optional, format: yyyy-MM-dd HH:mm:ss).
--access Access time to set (optional, format: yyyy-MM-dd HH:mm:ss).
--sync Synchronize time properties from source file to target file.
<sourceFile> Source file whose time will be copied.
<targetFile> Target file whose time will be updated.