Skip to main content
Share Your Experience: Take the 2024 Developer Survey
87 votes

How to create a text file in a folder

The simplest version does not require a file or folder to be selected, and adds a keyboard shortcut of your choice. Part 1: Create a new Quick Action (was Service) In Automator, create a new Quick ...
Andy Swift's user avatar
  • 2,240
85 votes
Accepted

What is the purpose of Docker.raw file on Mac OS Catalina?

Docker for Mac stores Linux containers and images in a single, large file named Docker.raw. To reduce its size, after having pruned the unused docker objects ( https://docs.docker.com/config/pruning/ )...
pippobaudos's user avatar
42 votes

How can I create a symbolic link in Terminal?

I know this question is explicitly asking about the Terminal, but if you're in GUI Land and don't want to enter Terminal Land, you can use SymbolicLinker. This puts a "Make Symbolic Link" ...
Ky -'s user avatar
  • 1,831
42 votes

What is this unknown executable on my boot volume? Is it Malicious?

This is SilverInstaller, adware to download more adware and ‘potentially unwanted programs’. This was likely distributed through fake Flash popups, which someone on the system clicked on, downloaded, ...
grg's user avatar
  • 202k
40 votes

How can I create a symbolic link in Terminal?

It's just ln -s <source> <destination>.
TheSqrtMinus1's user avatar
33 votes

How can one save a file as plain text in TextEdit?

With TextEdit in focus, select Format → Make Plain Text option in the Menu bar or use the keyboard shortcut Shift + Command + T to change the file encoding to plain text. This will also set the ...
Nimesh Neema's user avatar
  • 52.1k
23 votes
Accepted

Charlie Stigler and other random items running in the background?

What you have discovered is one of the disaster areas for the new System Settings. Obviously copied from the iOS Settings without enough care and attention. On macOS this list of background apps is ...
Gilby's user avatar
  • 11.2k
21 votes
Accepted

Keep desktop icons as they are shortly after logging in

This is because it loads the previews of the files, which replace the default file icons. To disable icon previews on the desktop, click on the desktop, press ⌘J and uncheck ‘Show icon previews’.
grg's user avatar
  • 202k
21 votes

Which file types are "ineligible" for iCloud drive?

This is not an answer but here is a partial list of kind of file names that are considered ineligible for iCloud drive. Warning: this list is purely based on trial and error on macOS 10.12.16. As of ...
Loax's user avatar
  • 819
21 votes

How to determine which process is creating a file?

fs_usage is your tool for this. The file system usage tool is ideal since it taps in to the real time file system events and dumps activity to a file or the screen. Since you know the exact path of ...
bmike's user avatar
  • 237k
15 votes
Accepted

Delete metadata

Meta information and attributes is complex thing and I am not qualified to cover it extensively. Nevertheless. Distinction should be made between: meta information in files (usually displayed in GUI ...
Aivar Paalberg's user avatar
14 votes

How stop my IDE from showing hidden files on Sierra?

It's up to individual apps to decide whether to show hidden files and to provide options to change it. The ‘AppleShowAllFiles’ key is written to ‘com.apple.Finder’, so it only applies in Finder. ...
grg's user avatar
  • 202k
13 votes
Accepted

Why is Mac OSX temp. directory in weird path

The reason for having these folders instead of a more simple /tmp that you might know from other systems is to prevent a number of security issues. Mainly some programs create files/folders/pipes in /...
jksoegaard's user avatar
  • 78.1k
13 votes

What is the purpose of Docker.raw file on Mac OS Catalina?

The answer to your question is in the Docker documentation: Disk utilization in Docker for Mac Docker Desktop stores Linux containers and images in a single, large “disk image” file in the Mac ...
Ortomala Lokni's user avatar
12 votes
Accepted

What is the /bin/[ '[' file in OS X?

This command is for comparing values, checking file types etc. Here's a man page: NAME test, [ -- condition evaluation utility SYNOPSIS test expression [ expression ] It's usually used like ...
Mateusz Szlosek's user avatar
12 votes
Accepted

What will occur if the .DocumentRevisions-V100 folder is deleted?

Just because one cannot see something's purpose or value doesn't mean there isn't one! If you delete the /.DocumentRevisions-V100 directory it will break the Document Revisions feature in OS X until ...
user3439894's user avatar
  • 58.9k
11 votes
Accepted

What is installer.failurerequests in the root directory?

It's safe to delete this file. It is a file left behind by the OS X installer in later versions. It seems to always be there after installation, so its existence does not indicate a failure in it ...
jksoegaard's user avatar
  • 78.1k
11 votes
Accepted

How can I tell mac that program X can open file type Y?

You could edit Firefox's Firefox.app/Contents/Info.plist and add <string>pdf</string> e.g in the first CFBundleTypeExtensions array, but that would get ripped-off at the next Firefox ...
Kaiido's user avatar
  • 261
10 votes

How can I create a symbolic link in Terminal?

ln -s /some/dir/ ~/Desktop/dir You can also create a symlink for directory using the same command ln -s "$(pwd)" ~/Desktop/dir To create symlink to current directory you are in.
Gerald's user avatar
  • 201
10 votes

How to change the default application for WEBLOC files?

Please note: This solution no longer works in macOS 13 Ventura (or already before?). Please see the other answers for solutions that work (and downvote this answer). I have found a solution: Make ...
mach's user avatar
  • 889
10 votes

Delete metadata

You can look at ExifCleaner ... despite the name, it also cleans non-EXIF metadata, e.g., from PDF files. Description from documenation: Desktop app to clean metadata from images, videos, PDFs, and ...
nisc's user avatar
  • 231
9 votes

How to create a text file in a folder

New File Applescript with Toolbar Icon Found this open source gem. Can either use the .App or add the Applescript manually. Will add a New File widget to the Finder toolbar.
lodeOfCode's user avatar
9 votes

How to search Mac for files that begin or end with a space " " or period "."

With Finder as the active application, choose Find from the File menu. In the Searching "This Mac" window that brings up, select Kind is Document, then use + to add another condition with Name as the ...
Eirik Fuller's user avatar
8 votes

Which file types are "ineligible" for iCloud drive?

Files over 50 GB are ineligible. From official iCloud Drive FAQ: You can store any type of file in iCloud Drive, as long as it's 50GB or less in size (…).
François's user avatar
  • 181
8 votes
Accepted

Open a file with spaces in the name in Terminal

Either escape the space with a backslash or use quotes. open Test\ Subject.jpg open "Test Subject.jpg" You can also use autocomplete with tab. Type open Test then ⇥ to autocomplete. Take note of ...
grg's user avatar
  • 202k
8 votes
Accepted

Extended attributes reappear when reconnecting external drive

The cause of the problem—or, rather, the cause of the symptoms of the problem—is indeed explained by learning the content of the extended attribute com.apple.FinderInfo. It reveals that the Finder has ...
Doc G.'s user avatar
  • 2,483
8 votes
Accepted

Fine-tuning "Open safe files after downloading"

The preferences file is located at ~/Library/Preferences/com.apple.DownloadAssessment.plist If the file doesn't exist, then create it and include the following: <!DOCTYPE plist PUBLIC "-//Apple ...
adamxweb's user avatar
  • 530
7 votes

How to create a text file in a folder

How to create as an Automator Service (OS X El Capitan 10.11.5): Open Automator and select File > New > Service. Next, choose Folders from the drop-down menu Service receives selected ... In the ...
syreeni's user avatar
  • 71
7 votes

Can I open a text file in Preview from the Terminal?

NB - If there are any further questions about this answer please comment. UPDATE There's nothing wrong with the other answers, this one leverages a system command to convert the text file to a ...
Tommie C.'s user avatar
  • 358

Only top scored, non community-wiki answers of a minimum length are eligible