#Files
183 solutions
Remove files and directory trees from the shell — with the guard rails you should always use.
One find command sweeps ~/Library for the caches, preferences, and support folders a deleted app left behind.
Find which file contains a specific phrase — with file name and line number — using grep's recursive search.
One global preference makes every Finder window display extensions, so 'invoice' becomes 'invoice.pdf'.
List the biggest files in your home folder that are eating disk space.
Build a whole folder path in one go instead of cd-ing and mkdir-ing level by level.
Concatenate several PDFs into one file using the Combine PDF Pages Automator action from the Terminal.
The PowerShell true/false existence test every script should start with — supports files, folders, registry keys, and wildcards.
Rename dozens of files in one shot — swap extensions, replace spaces, add prefixes — without writing a loop.
Unzip files into a specific folder and see exactly what was extracted.
Group duplicate files by SHA256 hash with Get-FileHash and Group-Object to clean up copied photos and documents on Windows.
Launch a terminal pre-positioned in whatever folder you are working in.