Update DeleteArr.go
This commit is contained in:
parent
12c539663b
commit
63269ff6bc
@ -166,6 +166,10 @@ func main() {
|
||||
log.Println("Found file: " + v.Name())
|
||||
if filepath.Ext(v.Name()) == ".mkv" {
|
||||
mkvCount += 1
|
||||
} else if {
|
||||
if filepath.Ext(v.Name()) == "sample.mkv" {
|
||||
os.Remove(m.SourceFolder + "/" + v.Name())
|
||||
}
|
||||
} else {
|
||||
os.Remove(m.SourceFolder + "/" + v.Name())
|
||||
log.Printf("Deleting non MKV file: %v", m.SourceFolder+"/"+v.Name())
|
||||
|
Loading…
Reference in New Issue
Block a user