Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Apple OS X directory and file listing

  • directory and file listing

    Posted by Bob Cole on July 15, 2010 at 4:03 pm

    When I’m reloading the files for a project, it would be very helpful to have a complete snapshot of the RAID which lists the locations and filenames. Is there a way to create a list (expandable to include subdirectories and filenames if possible) of all the directories on the drive?

    Bob C

    Bob Cole replied 15 years, 9 months ago 2 Members · 2 Replies
  • 2 Replies
  • Craig Thomas quinlan

    July 15, 2010 at 7:39 pm

    You could open Terminal and type in

    cd /Volumes/[RaidName]

    to bring you to the right raid volume directory location, then type

    ls -R > raid_output.txt

    This recursively lists all files and folders in all directories and all subdirectories, and outputs this into a text file living in your home folder, or wherever you tell it to go. This would give you a nice “snapshot” of everything on the raid.

    If you want more options for sorting, type in

    man ls

    to go to the man page for the ls command. Lots of flags to choose from.

  • Bob Cole

    July 15, 2010 at 10:25 pm

    Thanks! That works well.

    Bob C

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