Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Apple OS X How do I get a hard drive directory list of all data on HD under OSX Tiger??

  • How do I get a hard drive directory list of all data on HD under OSX Tiger??

    Posted by Iamfoxman on July 26, 2005 at 10:12 pm

    Help- have a huge amount of data on ~3 Terabites of hard drives & I need to list all of the data on each one of them to keep track of my files… Newbee on mac- Help!!!

    Mark Sloan replied 20 years, 9 months ago 2 Members · 4 Replies
  • 4 Replies
  • Mark Sloan

    July 29, 2005 at 12:42 am

    What information do you want off of those Hard Drives? Just file paths and names?

  • Iamfoxman

    July 29, 2005 at 8:03 pm

    Yes- drive/folder/file name in some type of text file. Need to be able to re-organize data after I have the text list to sort in several ways.

  • Mark Sloan

    August 3, 2005 at 11:51 pm

    Do you know UNIX at all? Using the ls command you can output the paths and files of everything on a drive really easily to a text file. As for ordering the data… if you get familiar with grep or maybe a text tool, you can “extract” lines out of that file that you need.

    But getting the paths and names into a file is pretty easy.

  • Mark Sloan

    August 5, 2005 at 12:06 am

    I never heard back from you but maybe others would want to know…
    Open the terminal.
    Type the following:
    cd /Volumes

    This will change directories (cd) to the directory that lists all volumes on your machine
    then type:
    ls

    This will list (ls) everything in the Volumes folder. You will then change directory again (cd) to the volume you want to index (if the volume has spaces in the name, type the first couple of letters of the volume name and then tab to autocomplete):
    cd volume_name

    Check to make sure that this looks right:
    ls

    Next, we will run the code to put everything on that disk into a text file:
    ls -FR > /Users/yourusername/Desktop/filename.txt

    This tells the list to put in paths and search through all directories and then output it > to the filename you specify on your desktop. Let me know if you need anything more complicated than this.

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy