Update DeleteArr.go
This commit is contained in:
parent
977018f104
commit
08db9cb820
@ -164,6 +164,9 @@ func main() {
|
||||
|
||||
for _, v := range files {
|
||||
log.Println("Found file: " + v.Name())
|
||||
if filepath.Base(v.Name()) == "sample.mkv" {
|
||||
os.Remove(m.SourceFolder + "/" + v.Name())
|
||||
}
|
||||
if filepath.Ext(v.Name()) == ".mkv" {
|
||||
mkvCount += 1
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user