4 Useful Terminal Commands for Awkward Finder Tasks (Bite-size Article)
Introduction Today’s article is a short one, but I’d like to share four useful Terminal commands I recently learned for Finder-related tasks (Mac). Until not long ago, I used to check these things ...

Source: DEV Community
Introduction Today’s article is a short one, but I’d like to share four useful Terminal commands I recently learned for Finder-related tasks (Mac). Until not long ago, I used to check these things manually, but doing them in Terminal is much faster, so I’ve been using these commands a lot lately. I decided to write this article partly as a memo for myself, and also to share them with people who may not know them yet. Much of this is fairly basic, so some of you may already know these, but if you’re interested, I hope you’ll give it a quick read. 1. Show Only Recently Updated Files find . -type f -mtime -7 This command lists files that have been updated recently under the current directory and its subdirectories. Finder does have a “Recent” section in the sidebar, but in my case—perhaps because of my own PC—it can sometimes take time to load, or miss files I expect to see. So this feels like a more reliable method. The -7 part represents the number of days in the past, so it’s convenien