Skip to content

Commit 57508ea

Browse files
committed
Unescape copy source and destination
1 parent 6e53558 commit 57508ea

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

main.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -313,6 +313,8 @@ func main() {
313313
fmt.Println("ERROR: need -from and -to arguments")
314314
os.Exit(1)
315315
}
316+
*from = strings.Replace(*from, "\"", "", -1)
317+
*to = strings.Replace(*to, "\"", "", -1)
316318
copy(*from, *to)
317319
os.Exit(0)
318320
}

0 commit comments

Comments
 (0)