diff --git a/SummaryModulesByAOD.exe b/SummaryModulesByAOD.exe index 47259de..3e20e82 100644 Binary files a/SummaryModulesByAOD.exe and b/SummaryModulesByAOD.exe differ diff --git a/SummaryModulesByAOD.go b/SummaryModulesByAOD.go index 9b8648c..b2e592c 100644 --- a/SummaryModulesByAOD.go +++ b/SummaryModulesByAOD.go @@ -3,6 +3,7 @@ package main import ( "bufio" "flag" + "fmt" "log" "os" "path/filepath" @@ -62,6 +63,8 @@ func init() { func main() { log.SetOutput(os.Stdout) log.Printf("[MSG] Commandline: %v\r\n", os.Args) + bkupList = append(bkupList, fmt.Sprintf("### Commandline: %v", os.Args)) + _, err := os.Stat(aodPath) if err != nil { log.Printf("[ERR] Path Of AODs Not Exists.\r\n") @@ -236,7 +239,7 @@ func main() { } } } - _WriteFileFromStringSlice("./Backup_"+time.Now().Format("2006-01-02_15:04:05")+".txt", bkupList) + _WriteFileFromStringSlice("./Backup_"+time.Now().Format("2006-01-02_15-04-05")+".txt", bkupList) log.Printf("[MSG] Total Backed Up Modules: %d\r\n", ttl) } }