Laravel移动所有文件目录 [英] Laravel move all files directory
本文介绍了Laravel移动所有文件目录的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在尝试将所有文件从一个目录移动到另一个目录. 我做不到
I'm trying to move all the files from one directory to another directory. I could not do it
File::move() ??
推荐答案
遵循此说明
$success = File::copyDirectory($sourceDir, $destinationDir);
如果要移动整个目录并删除源文件
If you want to move the entire directory and delete source
这篇关于Laravel移动所有文件目录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文