【Shell】把某一文件夹下所有文件名或者路径存入TXT文档Apr 23, 2017#Shell9AI-generated summaryThis is a post about using Shell to save all file names or paths in a folder to a TXT document. The code examples provided use the ls and grep commands to filter for specific file types. ls -l | grep ".jpg$" > file.txt ls -R / 路径 /*.jpg > file.txt000