Compare commits
No commits in common. "fd99333bc1cc19a106d51c02276bc3fdc2616592" and "996ceb25ab2f6564cbcc96dde133c2a4dadf8b71" have entirely different histories.
fd99333bc1
...
996ceb25ab
@ -168,7 +168,7 @@ func main() {
|
|||||||
mkvCount += 1
|
mkvCount += 1
|
||||||
} else {
|
} else {
|
||||||
os.Remove(m.SourceFolder + "/" + v.Name())
|
os.Remove(m.SourceFolder + "/" + v.Name())
|
||||||
log.Printf("Deleting non MKV file: %v", m.SourceFolder+"/"+v.Name())
|
log.Printf("Deleting file non MKV file: %v", m.SourceFolder+"/"+v.Name())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -176,7 +176,7 @@ func main() {
|
|||||||
log.Printf("Found %v MKV files in the folder, deleting only %v", mkvCount, m.SourcePath)
|
log.Printf("Found %v MKV files in the folder, deleting only %v", mkvCount, m.SourcePath)
|
||||||
os.Remove(m.SourcePath)
|
os.Remove(m.SourcePath)
|
||||||
} else {
|
} else {
|
||||||
log.Printf("Found only one MKV files in the folder, deleting the folder %v", m.SourceFolder)
|
log.Printf("Found only one MKV files in the folder, deleting thoe folder %v", m.SourceFolder)
|
||||||
os.RemoveAll(m.SourceFolder)
|
os.RemoveAll(m.SourceFolder)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user