按顺序将目录下的所有文件的绝对路径写入文件中

ls -R `pwd`/*.yuv > path.txt
原文地址:https://www.cnblogs.com/cristiano-duan/p/14366780.html