perl File :: Copy不起作用

时间:2017-07-11 22:39:47

标签: file-copying

我尝试使用File :: Copy或只是shell cp。没有用。任何线索?

https://github.com/songyangster/perltest

$ bin/test_copy.pl from_dir to_dir
Failed to File::Copy cp from_dir/foo1.txt to to_dir
cp: from_dir/foo1.txt: No such file or directory
Failed to cp from_dir/foo1.txt to to_dir
Failed to File::Copy cp from_dir/subdir1/foo2.txt to to_dir
cp: from_dir/subdir1/foo2.txt: No such file or directory
Failed to cp from_dir/subdir1/foo2.txt to to_dir

0 个答案:

没有答案