- Open the desired folde in the finder
- Select the items you need to list
- Go to Edit / Copy
- Then go to your e-mail or text-edit program and select Edit -> Paste
|
|
|
If you need to copy a list of files you have in a folder to email somebody, or just for yourself, then do the following:
•
[5,437 views]
Hint Options
Always Reverse Alphabetical?
A great hint...and so obvious!
Always Reverse Alphabetical?
list properly sorted here.
You can do it with the shell, too.
Bring up the Terminal and find the directory you're interested in. Type:
ls -c | sort | pbcopy
Now the filenames are on the clipboard.
The ls command is potentially more interesting as you can pull out just, say, doc files (if you label your goodies with suffixes of types):
ls -c *.doc | sort | pbcopy
Services
OK maybe this a naive question, but why can't you use the 'Services > Mail > Mail to' menu item to accomplish this?
Services
I don't know about your Finder, but in my Finder, when I select files, there are no options available from the Services menu. Everything is grayed out. Come to think of it, I've come across almost zero apps that use the Services.
Services are kind of Cocoa only.
Services were initally only available to Cocoa applications, not Carbon ones. The Finder.app is a Carbon app.
what about comments
I make extensive use of comments in files, those that you can enter by clicking apple + i. Is there any way to make a list of files in a certain folder/s AND their comments?
alphabetical listing
I'm certain there is a way in the Terminal to copy and paste an alphabetical listing, I think to write the list to a .txt file? Anyone know?
alphabetical listing
Writing to a file:
ls -ls > filelist.txt for long file info
ls -1 > filelist.txt (that's -one) for just file names.
Writing to clipboard:
ls -ls | pbcopy for long file info
ls -1 | pbcopy (that's -one) for just file names.
Obviously, you can use any arguments to ls to get your preferred formatting.
alphabetical listing
http://www.apple.com/downloads/macosx/unix_apps_utilities/shellservice.html
alphabetical listing
the undocumented pbcopy and pbpaste commands allow you to copy and paste to the clipboard. For instance to get a home directory listing:
ls ~ | pbcopy This will place the listing of the directory into the clipboard and you can then paste into whatever application you want.
alphabetical listing
I added the following to my .login (actually a file called .aliai which is sourced from my .login)
Welcome to System 6
At least... this feature may be even earlier than that. :D |
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.21 seconds |
|