Huck

Q: How do I print out a list of the movies I have on an external hard drive

I have my iTunes on an external hard drive.  I wish to print a list of the movies.  I have tried "print" which causes quicktime and iTunes to open. I tried "select all" "copy" then paste to text edit which causes an endless spinning ball and eventual system crash.  I assume it is attempting to print the actual movies rather than the list.  Any ideas how to create a list of contents of a drive and then print such a list?  I am using OS X 10.11.5 on a macbook pro.

Posted on Jul 28, 2016 10:23 AM

Close

Q: How do I print out a list of the movies I have on an external hard drive

  • All replies
  • Helpful answers

  • by Barney-15E,

    Barney-15E Barney-15E Jul 28, 2016 5:09 PM in response to Huck
    Level 9 (50,188 points)
    Mac OS X
    Jul 28, 2016 5:09 PM in response to Huck

    You an run this in the Terminal and it will output the file names to a file on your Desktop.

    ls path/to/folder >> ~/Desktop/Movies.txt

    Change path/to/folder to the full path to the folder.

  • by Huck,

    Huck Huck Jul 30, 2016 11:47 AM in response to Barney-15E
    Level 1 (14 points)
    Mac OS X
    Jul 30, 2016 11:47 AM in response to Barney-15E

    I am not that familiar with Terminal.  It doesn't like anything I type there.  Can you be a bit more specific on how to do this?

  • by leroydouglas,

    leroydouglas leroydouglas Jul 30, 2016 11:52 AM in response to Barney-15E
    Level 7 (23,633 points)
    Notebooks
    Jul 30, 2016 11:52 AM in response to Barney-15E

    Barney-15E wrote:

    ls path/to/folder >> ~/Desktop/Movies.txt

     

     

    Nice.

  • by Barney-15E,Solvedanswer

    Barney-15E Barney-15E Aug 2, 2016 10:33 AM in response to Huck
    Level 9 (50,188 points)
    Mac OS X
    Aug 2, 2016 10:33 AM in response to Huck

    First type the two letters, ls (ell, ess) and a space

    Drag the hard drive icon into the Terminal window--it will automatically fill in the path to it.

    Copy the rest of the command posted above starting with >> and paste it into Terminal after the path to your hard drive.

    Hit return.

    In a moment, the Movies.txt file will appear on the desktop.

     

    If you have subfolders, add the -R option to recursively list all subfolders:

    ls -R /Volumes/Movies/ >> ~/Desktop/Movies.txt

  • by Huck,

    Huck Huck Aug 2, 2016 10:38 AM in response to Barney-15E
    Level 1 (14 points)
    Mac OS X
    Aug 2, 2016 10:38 AM in response to Barney-15E

    Many thanks, that solved the problem.  I can't seem to change the helpful to solved.