How do I list all folders and subfolders alphabetically on my MacBook Air?
I would like to see a list of all my folders and subfolders, alphabetically
The folders are in the Documents folder
[Re-Titled by Moderator]
MacBook Air (M3, 2024)
You can make a difference in the Apple Support Community!
When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.
When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.
I would like to see a list of all my folders and subfolders, alphabetically
The folders are in the Documents folder
[Re-Titled by Moderator]
MacBook Air (M3, 2024)
To get a sorted list In Print Window 5, under the File Information tab, select:
And if you want only folder names (nothing else), you should probably also:
There are quite a few options in the various tabs & pull downs in PW5. Take a look through them.
Alternatively, you can export to CSV or Excel and then sort the file names in Excel, Numbers or other apps.
Launch the Terminal application. At the command prompt, enter the following commands that will write a text file to your Desktop that contains the alphabetical folder hierarchy of your Documents folder to the Desktop. The (/:on) syntax says only folders and sorted ascending by name. The '**' means recursively descend into the folder hierarchy.
cd
for f in ~/Documents/**/*(/:on); do print -Dl "${f}"; done > ~/Desktop/documents_folder.txt
That will take about a second or two and the text file on your Desktop can be viewed with Quick Look or opened in a Text editor.
There is a nice little app called Print Window 5 that will do what you want . There is a free version and an advanced version with more features for $20. I use it frequently to generate lists of folders and files.
Note, it's available from both the vendor and the Mac App Store but the App Store version has limited features.
Save Presets on the Layout tab
Take some time to explore the app on your own. The tabs & buttons are straightforward and there is always the Print Window Help to refer to.
Windows 5 prints a list of my folders that is not sorted alphabetically
I do not understand what sort criteria it uses
One more thing ... also Select File Information > Print Folders Only
Now it works - not so intuitive but I found the settings.
Thanx
How do you save my own settings PW5? it is very annoying to reset them each time
Are you responding to my question "How do you save my own settings PW5? it is very annoying to reset them each time"
I cannot see in this community how the thread is organised
Is it possible to print all subfolders in a single list, ie not as a tree structure but list of all folders?
I tried to do this with SmartSearch but it is not listing all folders
¿How to save to CSV or Excel?
¿ How can you create a list that includes only the folders, without showing the hierarchy of different levels?
How do I list all folders and subfolders alphabetically on my MacBook Air?