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