使用linux命令获取文件夹下所有文件的绝对路径

xiaoxiao2021-02-28  157

比如获取/home/yrs/img/,所有的jpg文件绝对路径并且输入到data.txt文件:

ls /home/yrs/img/*.jpg > data.txt
转载请注明原文地址: https://www.6miu.com/read-17641.html

最新回复(0)