You're replying to a comment by John Eric.

John Eric Permalink
May 09, 2013, 19:41

I'm looking for a way to output FIND in such a way to print a file with fields: "date time size


file_path". I'm new to linux and my 6TB RAID is still in Windows NTFS. Filenames have spaces and classical music files can have very long names.

This is what I have so far, but awk prints the output of find on 2 lines, instead of 1.

find /mnt/Drive-D/ -type f -exec ls -ld --time-style=long-iso {} \; | awk '{print $6,$7,$5,"\t",$1=$2=$3=$4=$5=$6=$7=""; print $0}'

Reply To This Comment

(why do I need your e-mail?)

(Your twitter handle, if you have one.)

Type the word "coding_92": (just to make sure you're a human)

Please preview the comment before submitting to make sure it's OK.