Export file/folder attributes to text file

Discussion in 'Mac Basics and Help' started by jdschwam, Dec 19, 2010.

  1. jdschwam macrumors newbie

    Joined:
    Dec 19, 2010
    #1
    I have been looking all day for an answer. Please help. I am a NuBe on this stuff.

    I need to create a text file that contains folder path, file name and attributes such as create date, modified date etc.

    I believe the Terminal app should do this.

    Can anyone please explain it to me.

    Thanks,

    d
     
  2. angelwatt Moderator emeritus

    angelwatt

    Joined:
    Aug 16, 2005
    Location:
    USA
    #2
    The ls (Lowercase L) command is what you need. Do man ls to find out more details to get the output to contain everything you need.
     
  3. jdschwam thread starter macrumors newbie

    Joined:
    Dec 19, 2010
    #3
    Thank you. I now see what I have to do. First, I need to learn to navigate the Terminal app, but I can figure this out. then exercise the options of the "ls" command. Thanks again.
     
  4. LPZ macrumors 65816

    Joined:
    Jul 11, 2006
    #4
    You might also look at the man pages for the stat command.
     

Share This Page