Working_Fullpath=$(pwd) Working_Directory=$(basename $Working_Fullpath) # IMPORTANT - The order of keys in keys_of_interest *must* match the order in # which mdls prints them or csv output will be incoherent keys_of_interest=("kMDItemFSCreationDate" "kMDItemFSName")