Since OSX is based on unix, you can use the 'ls' command in terminal. Navigate to where you want to start from:
- cd ~/pictures/nikon
and then run
- ls -R > picture.listing.txt
This command moves through all the folders within 'nikon' and sends the name of each folder and file to the file picture.listing.txt.