New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

Start a Discussion

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
Movies and Video For people making movies and editing video with their Mac.

copying just avi names/titles

Post Reply New Thread Subscribe

Thread Tools

Member Since: Aug 01, 2010
Posts: 2
mdwst is on a distinguished road

mdwst is offline
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
QUOTE Thanks

Member Since: Feb 25, 2009
Posts: 2,109
Nethfel is a glorious beacon of lightNethfel is a glorious beacon of lightNethfel is a glorious beacon of lightNethfel is a glorious beacon of lightNethfel is a glorious beacon of lightNethfel is a glorious beacon of light
Mac Specs: Late 2013 rMBP, i7, 750m gpu, OSX versions 10.9.3, 10.10

Nethfel is offline
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; 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 Debian as a server; Apple TV (1080p version)
QUOTE Thanks

scathe's Avatar
Member Since: Jan 12, 2009
Location: Prague, Czech Republic
Posts: 1,096
scathe is a jewel in the roughscathe is a jewel in the rough
Mac Specs: 2,4Ghz 15" unibody

scathe is offline
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.
QUOTE Thanks

Post Reply New Thread Subscribe

« I Movie sound problem | Help - Can't make video on MAC! »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread Starter
Last Post
converting mkv to avi files is the bane of my mac existence thinkblot Movies and Video 2 10-16-2009 12:36 PM
Hi Gang -- AVI + MOV files ?????? johncpiercy Switcher Hangout 3 06-21-2005 11:45 PM
AVI to DVD: I THINK I'VE GOT IT! chang6776 Movies and Video 27 04-01-2005 08:45 PM

All times are GMT -4. The time now is 07:09 AM.

Powered by vBulletin
Copyright ©2000 - 2015, Jelsoft Enterprises Ltd.

Welcome to

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!

(4 digit year)

Already a member?