The macosxhints Forums

The macosxhints Forums (http://hintsforums.macworld.com/index.php)
-   Applications (http://hintsforums.macworld.com/forumdisplay.php?f=5)
-   -   Any way to create a file listing of a folder to txt file? (http://hintsforums.macworld.com/showthread.php?t=48968)

capitalj 11-19-2007 12:08 PM

Quote:

Originally Posted by OSXdude (Post 426505)
Now, if I can just remember the name of that app. :)

Could it be one of these?

Print Window

PrintFinder

Sesquipedalian 07-30-2009 02:12 AM

Pardon the thread necromancy, but for the sake of anyone stumbling on this thread via Google:

Never mind all the crazy business mentioned above. Select all in Finder, then do a Paste and Match Style in TextEdit. That will paste the file names as a simple list of text.

AHunter3 07-31-2009 02:03 AM

Won't do a hierarchical folder listing, though, only the immediate contents of the folder.

The TextWrangler/BBEdit menu item will insert a folder's contents along with not only it subfolders but their contents including their subfolders and their contents and so on. Do your whole hard disk if you want, etc etc.

Be that as it may, it's great that in MacOS you can just select and do ⌘-C on files and paste in any text-savvy environment and it pastes the file names. That's not Windows-esque behavior so it's good to clue in the Windows switchers that you can do that.

baccasthebesteve 01-28-2010 12:51 PM

I've been trying to import the contents of a folder, and Textwrangler will give the file listings alphabetically and indent for subfolders, but I wanted to add a column that shows the dates modified for each file in the directory I import. Is there a way to do this?

CeeDubH 05-12-2010 12:55 AM

Just select Format/Make PLain Text (Or just hit Shift+CMD+T) and then drag and drop your files into Text Edit. Simple. :)

microfridge 06-01-2010 08:47 PM

I've been looking for the same sort of thing, but what's important is to get the entire path attached to the file name. For example, I don't just need index.html, which is on my desktop, but /Users/me/Desktop/index.html. Unfortunately it doesn't seem like any of the advice above does this for me.

Maybe there's a different solution though.

The purpose of this is so that I can do a batch file rename using the program A Better Finder Rename 7, which requires such a tab-delimited file containing a file list with full paths and their corresponding new file names.

Any advice would be greatly appreciated! I'm sure I can't be the only one with this sort of issue. :)

macosnoob 06-02-2010 04:39 PM

@microfridge

Open a TextEdit window. Format > Make Plain Text.

Drag in one or more files. If it's an entire folder, set the folder to List View, Select All, and drag files into the open TextEdit window. If there are subfolders, too, disclose them as well: Select All, Cmd-Opt-right arrow, Select All again, and drag to open TextEdit window.

microfridge 06-02-2010 04:46 PM

Quote:

Originally Posted by macosnoob (Post 584833)
@microfridge

Open a TextEdit window. Format > Make Plain Text.

Drag in one or more files. If it's an entire folder, set the folder to List View, Select All, and drag files into the open TextEdit window. If there are subfolders, too, disclose them as well: Select All, Cmd-Opt-right arrow, Select All again, and drag to open TextEdit window.

Thanks a bunch macosnoob, I could swear that didn't work the first time around -- it only gave me the filenames without the full path. But, it worked this time. Maybe I was sleepy when I tried it the first time.

Thanks!

Steinorama 10-30-2011 11:54 PM

Paste folder contents
 
"Any way to create a file listing of a folder to txt file?"

Yes.
Open folder.
Select all ( Command A )
Copy ( Command C)
Open Text Edit
Edit > Paste and Match Style ( Shift Option Command V )
:)


All times are GMT -5. The time now is 02:52 PM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.
Site design © IDG Consumer & SMB; individuals retain copyright of their postings
but consent to the possible use of their material in other areas of IDG Consumer & SMB.