find '/your/path' > '/your/pathtosave/index.txt' This take about a minute depending on the size of the loacation You can use the grep command for searching for your files cat '/your/pathtosave/index.txt' | grep 'keyword'