This commit is contained in:
Borna Rajković 2022-06-13 11:10:06 +02:00
parent a5d41ae1f7
commit 70d91e2239
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ func resizeFolder(src, dest string, x, y int) {
filepath.Walk(src, func(path string, info fs.FileInfo, err error) error { filepath.Walk(src, func(path string, info fs.FileInfo, err error) error {
if !info.IsDir() { if !info.IsDir() {
destination := strings.ReplaceAll(path, src, dest) destination := strings.ReplaceAll(path, src, dest)
log.Printf("moving %s to %s", path, destination) log.Printf("copying %s resized to %s", path, destination)
resize(path, destination, x, y) resize(path, destination, x, y)
} }
return err return err