Forums
New posts
Articles
Product Reviews
Policies
FAQ
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Menu
Log in
Register
Install the app
Install
Forums
Apple Computing Products:
macOS - Operating System
Printing a list of file folders
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="mbohn" data-source="post: 966766" data-attributes="member: 109496"><p>No problem. </p><p></p><p>Do you know how to start up Terminal? You can find it under Applications, Utilities. Open up Finder (should be on your dock) and on the left side you'll see Applications. Click that and scroll down until you see Utilities. Click that and scroll down to Terminal. Click that and a window will open up.</p><p></p><p>Two lines will be displayed something like this:</p><p></p><p>Last login: Wed Dec 23 17:47:44 on ttys000</p><p>mbohn-macbook-pro:~ mbohn$ </p><p></p><p>There will be a cursor just past the $ sign. </p><p></p><p>Type in ls (that is a lower case "ell") and Terminal will list the files in your home directory.</p><p></p><p>To get that information into a file instead of into the Terminal window:</p><p></p><p>$ ls >> filelist.txt</p><p></p><p>So the file filelist.txt will now have your list of files. </p><p></p><p>The trick here is going to be for you to find the directory you want to list. If you can navigate in Terminal to that directory you are all set. The command above will do what you want and the file filelist.txt will end up in that directory. If you don't know how to navigate in Terminal you can put the directory name in like we did before:</p><p></p><p>$ ls /Users/Mark >> ~/Documents/home.txt</p></blockquote><p></p>
[QUOTE="mbohn, post: 966766, member: 109496"] No problem. Do you know how to start up Terminal? You can find it under Applications, Utilities. Open up Finder (should be on your dock) and on the left side you'll see Applications. Click that and scroll down until you see Utilities. Click that and scroll down to Terminal. Click that and a window will open up. Two lines will be displayed something like this: Last login: Wed Dec 23 17:47:44 on ttys000 mbohn-macbook-pro:~ mbohn$ There will be a cursor just past the $ sign. Type in ls (that is a lower case "ell") and Terminal will list the files in your home directory. To get that information into a file instead of into the Terminal window: $ ls >> filelist.txt So the file filelist.txt will now have your list of files. The trick here is going to be for you to find the directory you want to list. If you can navigate in Terminal to that directory you are all set. The command above will do what you want and the file filelist.txt will end up in that directory. If you don't know how to navigate in Terminal you can put the directory name in like we did before: $ ls /Users/Mark >> ~/Documents/home.txt [/QUOTE]
Verification
Post reply
Forums
Apple Computing Products:
macOS - Operating System
Printing a list of file folders
Top