Results 1 to 3 of 3

Thread: copying just avi names/titles

  1. #1

    Member Since
    Aug 01, 2010
    copying just avi names/titles
    I have many avi files for which i want to just copy/ extract just the names and paste them into say a spreadsheet.. I tried word, iwork and nothing seems to work.. it copies the entire avi video.. I want only the titles..

    How to do this in say a batch form instead of each individually using get info would take way to long

  2. #2

    Member Since
    Feb 25, 2009
    Usually if I need a listing of all of a given file - and hopefully they're all in one directory or one hierarchy of directories - I:

    Open a terminal (Applications -> utilities -> terminal)
    Change directory to where my files are (easy way is to in a finder window, navigate to the folder containing your videos and in the terminal type: cd <space> (don't hit enter yet) and in the finder window at the top where it says the folder name your looking at, click and hold on the little folder icon and drag it into the terminal window and release the mouse button - it should have now filled in the full path in terminal. In the terminal window now press enter.)
    Then do an ls feeding the output to a text file so: ls >mymovies.txt

    If you have your video files stored in subfolders within that top folder you could do:

    ls -R > mymovies.txt

    Now you should have a text file in your movie folder that contains a listing of all of your files (with some additional text, but it's at least a starting point)
    My Macs: Late 2013 rMBP w/ 750m, 16Gig ram; 2013 Mac Pro 6 core w/ D700, 16Gig Ram; Mac mini G4, 1.25 GHz, 512m ram (server); Late 2011 11" MBA, 1.8GHz i7, 4Gig Ram, 256Gig SSD, HD3000; Powerbook 12" G4 1.33GHz running Linux; Apple TV (1080p version)

  3. #3

    scathe's Avatar
    Member Since
    Jan 12, 2009
    Prague, Czech Republic
    Note that -R stands for recursive and it will list any subdirectory as well ... handy, but you might just want to get a list of the current directory, in which case just use ls without the -R tag.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. error code -50 with copying large avi files from mybooklive
    By anis2002 in forum macOS - Operating System
    Replies: 0
    Last Post: 02-21-2014, 12:23 AM
  2. File names to long error when copying to NAS
    By hagga27 in forum Other Hardware and Peripherals
    Replies: 5
    Last Post: 04-20-2010, 10:29 AM
  3. Replies: 2
    Last Post: 08-27-2009, 10:14 AM
  4. Copying Folders to Dock Without Copying Files
    By TheTrueMoron in forum Switcher Hangout
    Replies: 2
    Last Post: 08-15-2008, 01:28 AM
  5. Copying cropped clips without copying the whole clip.
    By Zacariem in forum macOS - Apps and Games
    Replies: 3
    Last Post: 02-22-2008, 03:04 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts