News for hackers. Stuff that matters.
Re:macOS Tips and Tricks (2022) by danielvaughn on Friday February 28, 2025 @03:21AM (#43203124)
I just want a Finder that actually works. It’s pretty incredible just how bad Finder is. It’s by far the worst piece of software I’m forced to use on a daily basis.
Re:macOS Tips and Tricks (2022) by reddalo on Friday February 28, 2025 @03:39AM (#43203238)
I honestly think that Explorer on Windows 11 is way worse than Finder. But I'd love a FilePilot [1] for macOS...

[1] https://news.ycombinator.com/item?id=43091466

Re:macOS Tips and Tricks (2022) by nottorp on Friday February 28, 2025 @03:53AM (#43203348)
On Windows you have Total Commander at least :)

I've tried some clones for mac os, but they all missed some important (at least to me) functions. Like typing not going to the command line editor, or not having a command line at all.

So it's midnight commander from macports for most complex file operations for me.

Re:macOS Tips and Tricks (2022) by madeofpalk on Friday February 28, 2025 @07:27AM (#43204865)
For the shit people give Finder, it's astonishing how bad Explorer is.

I miss Finder's tree view in Explorer so much.

Re:macOS Tips and Tricks (2022) by zanderwohl on Friday February 28, 2025 @07:52AM (#43205066)
Anyone who thinks finder is the worst file browser hasn't used Windows for 25+ years. Explorer can't even search files on the hard drive of the computer it's running on.

Explorer has its thumbnail processor on the same thread as the UI so if you have a lot of pictures in a directory it'll just hang indefinitely. Sometimes if you have too many files it won't display any at all.

If explorer crashes, it's the same process as your desktop and taskbar, so that disappears too.

Re:macOS Tips and Tricks (2022) by cosmic_cheese on Friday February 28, 2025 @01:32PM (#43208824)
I’ve never really understood the love for Explorer in any of its iterations. It was just alright at its best in the Win7 era and somewhere between mediocre and bad in other eras.
Re:macOS Tips and Tricks (2022) by reddalo on Monday March 03, 2025 @06:17PM (#43248024)
I think peak Explorer was like back in Windows 98. Snappy and easy to use. With Windows 7 it became a mess with the ribbon thing. On Windows 11 it got even worse, it's slow.
Re:macOS Tips and Tricks (2022) by colddevil on Friday February 28, 2025 @04:39AM (#43203653)
Yes, I was thinking the same.. For several years, I'm pretty happy with PathFinder by Cocoatech: https://cocoatech.io/

The things I miss the most when I accidentically open a Finder window: Cut files wit CMD+X to move them (never understood this when coming from Windows), cycle the files in a folder (start on top if you reach bottom and vice versa) and the comprehensive info bar on the right for files and folders. Give it a try :)

Re:macOS Tips and Tricks (2022) by ctippett on Friday February 28, 2025 @08:00AM (#43205121)
There's an app from Sindre Sorhus that adds CMD+X functionality to Finder.

https://sindresorhus.com/command-x

Re:macOS Tips and Tricks (2022) by ttepasse on Friday February 28, 2025 @04:47PM (#43211807)
”There is an app from Sindre Sorhus” is a complete sentence. :)

(Command-X is nice, even for a long time Mac user)

Re:macOS Tips and Tricks (2022) by LimeLimestone on Friday February 28, 2025 @08:06AM (#43205169)
Instead of CMD + X you can do CMD + C and paste with CMD + Option + V
Re:macOS Tips and Tricks (2022) by etrautmann on Friday February 28, 2025 @05:38AM (#43204085)
I used it for years and got so fed up with its pain points, including frequent crashes, a licensing system that never worked and nagged me despite legitimate purchase, and updates which reset and lost my preferences and sidebar organization. I’m now galaxy brained back to Finder again.
Re:macOS Tips and Tricks (2022) by pindab0ter on Friday February 28, 2025 @04:47AM (#43203709)
What exactly is so bad about Finder? I've never had any issues with it.
Re:macOS Tips and Tricks (2022) by etrautmann on Friday February 28, 2025 @05:42AM (#43204117)
Things that are hard: launching a terminal at a location, viewing or copying a files path, navigating a deep file system, column width in the column view, searching for files, finding file info, and lots of other.
Re:macOS Tips and Tricks (2022) by johncoltrane on Friday February 28, 2025 @06:01AM (#43204274)
> launching a terminal at a location

Right-click on directory > Services > New Terminal at Folder.

> viewing or copying a files path

Right-click on directory or file and press Option > Copy "<filename>" as path name.

> navigating a deep file system

Not sure what you mean.

> column width in the column view

Option + click & Drag. Or do you want them to adjust to files/folders name length?

> searching for files

What's wrong with Command + F?

> finding file info

Do you want more than what is shown by Command + I or in the "details" column?

Re:macOS Tips and Tricks (2022) by matthew-wegner on Friday February 28, 2025 @06:44AM (#43204580)
> Right-click on directory > Services > New Terminal at Folder.

Note that you can also bind a hotkey to this! And in general in macOS, you can a bind to a hotkey to any menu item in any application.

Search "keyboard shortcuts" in settings, then under Services -> Files and Folders.

Re:macOS Tips and Tricks (2022) by kernel-panics on Friday February 28, 2025 @07:15AM (#43204768)
To add to this:

cdf: aliased to cd "$(pfd)"

Doesn't really open a new Terminal, but usually, that's not what I want to happen anyway.

Re:macOS Tips and Tricks (2022) by evanb on Tuesday March 04, 2025 @06:55AM (#43253431)
pfd is not standard and is doing all the work---what is it?
Re:macOS Tips and Tricks (2022) by kmt-lnh on Friday February 28, 2025 @09:07AM (#43205740)
except Excel's ribbon menu items. As far as I know there's no method to hotkey those like ALT+[<letter>] on windows. Same for Outlook's categorize email function.
Re:macOS Tips and Tricks (2022) by nicwolff on Friday February 28, 2025 @11:42AM (#43207610)
That's because Microsoft has never used Apple's SDKs for their window widgets...
Re:macOS Tips and Tricks (2022) by johncoltrane on Friday February 28, 2025 @11:13AM (#43207258)
Those are not "menu items" as generally understood in macOS.
Re:macOS Tips and Tricks (2022) by kccqzy on Friday February 28, 2025 @09:13AM (#43205800)
In the column view, adjusting to the file/folder name length is easy. Just double click on the column divider.
Re:macOS Tips and Tricks (2022) by hanche on Friday February 28, 2025 @02:24PM (#43209286)
With the Alt key, that adjusts the width of all columns.
Re:macOS Tips and Tricks (2022) by traceroute66 on Friday February 28, 2025 @06:28AM (#43204455)
> searching for files

Erm, what ?

I use Mac, Windows, Linux and BSD daily.

Of all four, searching for files on a Mac is a dream.

Apple Spotlight is and always has been lightyears ahead of whatever garbage Microsoft use on Windows.

And don't get me started on the inconvenience of searching for files on Linux or BSD, I mean, for starters you have to download a non-default tool like `fd` if you want to search at any reasonable speed.

Re:macOS Tips and Tricks (2022) by setopt on Friday February 28, 2025 @08:04AM (#43205151)
> Apple Spotlight is and always has been lightyears ahead of whatever garbage Microsoft use on Windows.

I certainly agree on that, and I also find it more convenient than the desktop search options I’ve tried on Linux (there I usually drop to the command line to search).

But despite really wanting to like Spotlight, e.g. its integration with Apple Mail with email previews is great, I find it unusable for heavy work. I’ve tried customizing it to disable lots of search backends that I don’t need, but still for reasons I don’t understand, it sometimes takes 5+ seconds to process my search results before showing anything, and even the average search often takes a second and is not well-sorted.

In comparison, Alfred is always instant at searching on my computer, and I really prefer how you can explicitly tell it what you are searching for (e.g. `'filename`, `in file contents`, `=math`, etc.) whereas Spotlight tries to guess this and often guesses wrong. It’s also easier to customize if you want to integrate e.g. specific web searches in it.

I’ve tried Raycast since lots of people praise it, but I still find Alfred to have a nicer and more responsive interface, but perhaps it’s just what I’m used to.

Re:macOS Tips and Tricks (2022) by frereubu on Friday February 28, 2025 @08:10AM (#43205199)
I think something is wrong with your Spotlight index if it takes that long. Recently something went a bit funny with my Spotlight that made it take as long as you're describing, but after a reboot it's pretty instantaneous as usual. I work with large numbers of files (tens of thousands per project, with about 40-50 projects) so I don't think it can be that. I'm pretty sure there are ways to rebuild your Spotlight index.

I haven't come across issues with ordering, but my use cases are usually pretty simple, so that might be down to a difference in our workflows.

Re:macOS Tips and Tricks (2022) by eviks on Friday February 28, 2025 @06:41AM (#43204559)
This just tells me you've never used they only file search dream - Everything search, unfortunately Windows only. Spotlight has never come close to that
Re:macOS Tips and Tricks (2022) by KineticLensman on Friday February 28, 2025 @07:49AM (#43205044)
> Everything

I was going to say Everything was awesome as a file searcher except for its non-easily searchable name.

But when I checked in a raw Edge instance it was in fact the first result. Ho hum.

It's produced by Voidtools in case YMMV: https://www.voidtools.com/downloads/

Re:macOS Tips and Tricks (2022) by rubslopes on Friday February 28, 2025 @07:48AM (#43205031)
I agree with OP, searching for files is awful. Many times it doesn't find a file I know it is inside a subdirectory of where I am right now.

Things got much better when I moved from Spotlight to Raycast.

Re:macOS Tips and Tricks (2022) by crazygringo on Friday February 28, 2025 @09:10AM (#43205769)
Searching on my Mac's SSD is great.

Searching on my SMB network share doesn't work. At all. It's not just that Spotlight won't index it. It's that you can't even search by filename within the current folder you're viewing.

Re:macOS Tips and Tricks (2022) by spinningarrow on Friday February 28, 2025 @05:46AM (#43204146)
> launching a terminal at a location

A workaround for this (especially if you have a terminal always open) is to drag the file/folder you want to operate on into an open terminal window, which will paste in its path.

Re:macOS Tips and Tricks (2022) by setopt on Friday February 28, 2025 @08:17AM (#43205245)
This is what I do as well. Note that nearly every MacOS app shows a file or folder icon in its title bar if you hover the mouse over it – this icon can be dragged into a terminal to open the current file or folder there. Also useful if I e.g. want to grep something in a currently open text file in the terminal, or something like that.

(There is a system setting to always show this in the title bar without hovering, which was the old default behavior before Big Sur if I recall correctly. I’m a bit annoyed that it’s now hidden away by default.)

Re:macOS Tips and Tricks (2022) by WillAdams on Friday February 28, 2025 @08:45AM (#43205488)
Also, remember the commands pbcopy and pbpaste which along with pipes allow one to do a myriad of tasks.
Re:macOS Tips and Tricks (2022) by kps on Friday February 28, 2025 @09:31AM (#43206011)
At least it has a column view.
Re:macOS Tips and Tricks (2022) by bowsamic on Friday February 28, 2025 @05:20AM (#43203964)
Same, honestly. I find it very pleasant to use. Especially compared to a lot of Linux file browsers
Re:macOS Tips and Tricks (2022) by where-group-by on Friday February 28, 2025 @09:55AM (#43206266)
- Awkward sorting by name (mixing folders and files), unless you change the default

- Does not snap files to a grid by default on icon view, leaving some folders looking like a mess

- Not possible to figure out what's the exact path of the open folder - I just want a full path in the header/title bar. Or let me copy the full path without having to open "get info"

Re:macOS Tips and Tricks (2022) by ttepasse on Friday February 28, 2025 @11:31AM (#43207461)
> I just want a full path in the header/title bar

Apart from the Path bar in the bottom, there is also an old school title bar method:

  defaults write com.apple.finder _FXShowPosixPathInTitle -bool true
  killall Finder
("false" for reversing it.)

It doesn’t work for great for tabs, though, because tabs are short and paths are long.

> Or let me copy the full path …

There are some alternative fun and old methods:

* If you're hovering over the title bar of a finder window there is a little folder icon, the so-called proxy icon which gives access to the current folder. One can drag and drop it and it moves the folder. Dragging a folder or the proxy icon on the Dock icon of Terminal or iTerm opens a new window with the working directory directly set to the folder. But dragged into a text field you're getting the text path. Right click gives you a dropdown for navigation in the current folders path.

The proxy icon was stable in Finder until recently, now you need to hover. But you can re-activate the permanent display of the proxy icon under System Settings → Accessibility → Display, I think.

* MacOS has, since the Next days, the concept of Services. Services are little actions which the System and (good) Apps can provide to do something with with something. Services are found in the context menu or the App menu. If you're right clicking on a folder (sadly not the proxy icon), there are Service Actions by Terminal and iTerm for opening a window or tab for a selected folder.

* AppleScript:

  tell application "Finder"
      if exists window 1 then
          set currentDir to POSIX path of ((target of front Finder window) as text)
      else
          set currentDir to POSIX path of (path to desktop folder)
      end if
      set the clipboard to currentDir
  end tell
It works in Script Editor at least. I'm not an AppleScript expert.

But you can use AppleScript everywhere in MacOS. The Script-Menu, as an own App, as an Automator action or a Shortcut, you can give those hotkeys, possible use them in Alfred or Raycast, etc.

Apart from the syntax it will be a sad day, if Apple retires the AppleScript architecture.

Re:macOS Tips and Tricks (2022) by ttepasse on Friday February 28, 2025 @11:35AM (#43207516)
Oh, and you can drag app icons into the Finder symbol bar. Possibly an App made from that AppleScript. Not tested.
Re:macOS Tips and Tricks (2022) by where-group-by on Friday February 28, 2025 @12:18PM (#43208010)
Thanks for the tips. The defaults command worked well for my needs.
Re:macOS Tips and Tricks (2022) by euroderf on Friday February 28, 2025 @04:19PM (#43211202)
A few years ago I found+installed a small, simple Service to run "touch" on a file, but it broke a few OS upgrades ago. Anyone got a replacement ?
Re:macOS Tips and Tricks (2022) by ttepasse on Friday February 28, 2025 @05:31PM (#43212571)
Once there was a nice app called ThisService which could convert shell scripts into services, but it is not developed anymore.

The modern equivalent is "Run Shell Script" in Shortcuts or maybe Automator. Shortcuts has the advantage that you can use your shortcut directly in Quick Actions in Finder's context menu.

I played around a minute and created this but I'm not a Shortcuts expert.

https://www.icloud.com/shortcuts/5898ff4c3f2e49ff8ec6bff4013...

One insane caveat: For this to work you'll need to grant Finder Full Disc Access in System Settings → Security. Yes, it sounds insane. It is. But it works.

Re:macOS Tips and Tricks (2022) by euroderf on Tuesday March 04, 2025 @02:14PM (#43258791)
Guess what! In the security dialog, when I get a file picker to pick the app, Finder is not in the list !
Re:macOS Tips and Tricks (2022) by wlesieutre on Friday February 28, 2025 @10:02AM (#43206360)
Sounds like you want "Show Path Bar" (in the View menu), though it lives at the bottom of the window not in the header.

The sorting by name criticism is a weird one to me though. You want it to not sort by name when you tell it to sort by name, and instead sort by file vs folder and then within those two groups sort by name?

Re:macOS Tips and Tricks (2022) by where-group-by on Friday February 28, 2025 @12:23PM (#43208082)
I should have paid more attention to the menu bar. Show Path Bar helps with my needs.

For sorting I want it to sort like File Explorer or Dophin. So folders on top (sorted by name), then files (sorted by name). It works if I change Settings > Advanced > Keep folders on top.

Re:macOS Tips and Tricks (2022) by cosmic_cheese on Friday February 28, 2025 @01:25PM (#43208749)
Sorting folders seperately is definitely a personal preference thing. This behavior drives me nuts in Explorer and Linux file managers.

I’d support this being an option in the View menu or View Options palette, but I think I would lose my mind if this behavior were made default with no way to turn it off.

Re:macOS Tips and Tricks (2022) by butlike on Friday February 28, 2025 @11:55AM (#43207758)
It never seems to receive focus when I'm expecting it to
Re:macOS Tips and Tricks (2022) by sujee on Friday February 28, 2025 @05:17AM (#43203941)
The frustration with Finder led me to building my own tool. Not trying to replace Finder but more like a companion app - https://www.fileminutes.com/
Re:macOS Tips and Tricks (2022) by timrichard on Friday February 28, 2025 @06:04AM (#43204298)
I use Forklift instead : https://binarynights.com/

I can use it as an orthodox file manager (with the f keys I remember from Norton Commander). I also like using it to access remote filesystems over nfs and sftp, and also S3 buckets. It also works well with Dropbox and iCloud. There is a great sync feature to keep source and target directories synchronised. It's also good for diffing directories at a glance. It's good at managing archive files too. Plus the regex file rename feature is often handy for me - I have a few presets saved for various purposes. It's also my go-to MacOS uninstaller, as it gathers the related files.

Re:macOS Tips and Tricks (2022) by rtp4me on Friday February 28, 2025 @09:16AM (#43205834)
Same. I tried to use Finder for a while but landed on Forklift. I consider it the best choice of file manager tools for MacOS.
Re:macOS Tips and Tricks (2022) by chrisweekly on Friday February 28, 2025 @08:04AM (#43205155)
I recommend Alfred to replace Finder, Divvy for window management, iTerm2 for terminal, and homebrew to manage CLI utils.

This combination has served me well for many years.

Re:macOS Tips and Tricks (2022) by 2-3-7-43-1807 on Friday February 28, 2025 @11:50AM (#43207710)
And Linux Mint Cinnamon to replace MacOS ... how bout that?
Re:macOS Tips and Tricks (2022) by chrisweekly on Friday February 28, 2025 @05:25PM (#43212479)
OT. I like Linux, but this thread is about macOS.
Re:macOS Tips and Tricks (2022) by 2-3-7-43-1807 on Saturday March 01, 2025 @06:41AM (#43218332)
you're in denial.
Re:macOS Tips and Tricks (2022) by nyarlathotep_ on Friday February 28, 2025 @10:03AM (#43206365)
I gained a reputation at my workplace for complaining about this.

Nonsense default behavior, slow as heck, search barely works, keybindings are totally illogical.

It's totally unacceptable.

Re:macOS Tips and Tricks (2022) by sbuk on Friday February 28, 2025 @03:46PM (#43210438)
Whenever I read comments like this, I know that it is someone that has switched from another OS. macOS is neither Windows, KDE or Gnome. An awful lot of the functionality that you deem 'nonsense' comes from the days of classic Macintosh and even from NeXTSTEP.

In fact, nearly all the complaints I see in this and similar threads come down to people expecting macOS to behave like their previous OS did, and being surprised that it doesn't.

Re:macOS Tips and Tricks (2022) by greatgib on Sunday March 02, 2025 @08:25AM (#43230282)
It is just people being used to efficiency and interface improved over years to be ergonomic for users.

OS-X is surprising because there is a lot of marketing pretending that it is the most ergonomic when it is in fact the worst, and mostly it does not really improve other time.

Re:macOS Tips and Tricks (2022) by sbuk on Monday March 03, 2025 @01:23PM (#43244957)
"when it is in fact the worst"

That's very subjective. As a near 40-year user of Mac's, the consistency is quite remarkable. Mac OS 9 -> X was the biggest change, and even that was pretty consistent given just how different it actually was. After using Linux on and off for the last 20 or so years, I still prefer macOS when it comes to the crunch. It's not perfect, but to me at least, the best of a bad bunch.

Here's the thing; GNOME and KDE copied some bits from Mac OS, some bits from CDE/Motif, and a whole lot from Windows. The reason is obvious - familiarity and that IBM AT was largely the hardware people were installing these desktops on to. The "grandma test" (i.e. I taught my Gradma/Mum to use ${desktop}) is pointless. Instead, observe young children who have never seen a desktop computer interact with them. None of them fair well. IOS and to a very slight lesser degree, Adroid fair much better. All anecdotal, but do try it out - opens you're eye to just how bad the desktop is.

Real men prefer IRIX...

Re:macOS Tips and Tricks (2022) by copypasterepeat on Friday February 28, 2025 @10:07AM (#43206427)
I always feel like I'm missing something, but I find the creation of new folders really awkward. I'd like to just be able to right-click on a folder or even on a file or between two files and have it create a new folder there. But the new folder option is not available in those cases. I have to go to File->New Folder or click on the empty bottom of the screen, create the new folder there, and then drag it. Would love to hear if someone can offer tips for this.
Re:macOS Tips and Tricks (2022) by everettp on Monday March 03, 2025 @03:54AM (#43239757)
Command-Shift-N
Re:macOS Tips and Tricks (2022) by copypasterepeat on Monday March 03, 2025 @01:09PM (#43244768)
Thanks but that doesn't really solve any of the issues. It still just creates a new folder on the bottom instead of the current selection.
Re:macOS Tips and Tricks (2022) by sleepybrett on Friday February 28, 2025 @10:13AM (#43206492)
I've been using Pathfinder for years (https://cocoatech.io/)
Re:macOS Tips and Tricks (2022) by 2-3-7-43-1807 on Friday February 28, 2025 @11:48AM (#43207694)
i mean ... is it possible to move a file? the context menu doesn't seem to have a corresponding entry.

currently have a weird situation where a bunch of folders are arranged horizontally and go beyond the right border of the window. but there is no horizontal scroll bar indicating that.

the windows xp/nt/2000 file explorer is the pinnacle of file exploring experience. basically every linux file explorer just more or less copied it - for good reason. but no - apple has to reinvent the wheel and came up with a messed up hexagon.

Re:macOS Tips and Tricks (2022) by lelandfe on Friday February 28, 2025 @11:54AM (#43207746)
> currently have a weird situation where a bunch of folders are arranged horizontally and go beyond the right border of the window

Switch the view mode. View > as List (Or Cmd-1, 2, 3)

Alternatively if this is happening in icon mode, select all (Cmd-A), and sort with View > Sort by. You can also make folders always sorted. View > Show View Options (Cmd-J) and change it as you want, then click "Use as Defaults" at bottom.