I need a file (preferably a .list file) which contains the absolute path of every file in a directory. Example dir1: file1.txt file2.txt file3.txtlistOfFiles.list:/Users/haddad/dir1/file1.txt/Users/haddad/dir1/file2.txt/Users/haddad/dir1/file3.txtHow can I accomplish this in linux/mac? 
How to list all files in a directory with absolute paths
command line;ls;filenames
ls -d $PWD/* > listOfFiles.list