Closed balta2ar closed 4 months ago
my usecase was to copy some of the files located in various subdirs into a single root subdir, e.g.
1 ./2/b.txt 2 ./1/a.txt
after editing
1 ./2/b.txt 2 ./1/a.txt 1 ./tmp/2/b.txt 2 ./tmp/1/a.txt
I get
Copy "2/b.txt" to "tmp/2/b.txt" ERROR: [Errno 2] No such file or directory: 'tmp/2/b.txt' Copy "1/a.txt" to "tmp/1/a.txt" ERROR: [Errno 2] No such file or directory: 'tmp/1/a.txt'
It is possible to work around it with 2 invocations though:
but it would have been be more convenient if copy could create the whole path
Fixed by commit c0108a7f5ef3ddb3f1a8bf6f74c770f95d48b2ac.
my usecase was to copy some of the files located in various subdirs into a single root subdir, e.g.
after editing
I get