Questions tagged [file]

A resource for storing information which is available for a computer program. Computer files can be considered as the modern counterpart of paper documents.

431 questions
440
votes
7 answers

How can I create a symbolic link in Terminal?

What command is used to create a symbolic link/soft link?
Patrick
  • 4,409
  • 3
  • 12
  • 3
263
votes
28 answers

How to create a text file in a folder

In windows I right click and then there is an option to create a text file. How to do so in mac?
user4951
  • 3,181
  • 4
  • 19
  • 24
238
votes
12 answers

Why are dot underscore ._ files created, and how can I avoid them?

I am using different operating systems on different machines on different locations. I am using a USB flash disk to keep my files (source codes etc.). I am new to Mac OS X and now I realize there are lots of files created with a dot underscore ._…
nimcap
  • 2,888
  • 2
  • 17
  • 12
178
votes
6 answers

Is it safe to delete ~/Library/Caches?

Is it safe to delete the file Caches, in the Library of the Mac OS X Hard Drive? It's a pretty big file, 3.56 GB, Caches reminds me of logs i don't need or browser cookies. Is it safe to delete the folder "Caches"?
GummyArgyle
  • 2,923
  • 6
  • 22
  • 27
41
votes
3 answers

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

I have Docker installed on my Mac OS Catalina and recently found very big file Docker.raw. It is 64 Gb. Is it really needed? And if so, why is it so big ?
Denys Ivanenko
  • 565
  • 1
  • 4
  • 11
26
votes
2 answers

How did this ominous file end up in my Application Support folder?

Deleting this file will break the whole internets, for the sake of our children don't do it!. The above quotation is the content of a text file called STR8369805638PUB6932583035105 that I found today browsing the ~/Library/Application Support…
25
votes
1 answer

Adding tags to files in OS X: How to use, where are tags stored, and will they work on a network?

I've heard it is possible to add tags to a file's meta data in OS X, and have Spotlight search through such tags. In a nutshell, how would one access this feature in Finder – not Spotlight (Command+Space) – but the adding of tags themselves? Where…
Chris W. Rea
  • 4,369
  • 14
  • 46
  • 70
25
votes
1 answer

Is there a similar functionality of "Get Info" (Cmd+I) from the Mac OS X Terminal.app?

I would like to ask if in OS X there is a similar functionality of "Get Info" (Cmd+I) but from the Mac OS X Terminal.app? I mean something like finderGetInfo /path/to/a/file.ext which will output the infos for the file but in the terminal console?…
user3019105
  • 455
  • 1
  • 7
  • 14
24
votes
2 answers

How do I create a symbolic link to a directory with a space in it?

I was trying to create a symbolic link using the following command: ln -s "~/Foo Bar/" Foo ... but it didn't work (i.e. when I go into finder and try double clicking it, it says that it's pointing to an invalid path and prompts me to delete the…
Senseful
  • 23,371
  • 78
  • 181
  • 281
22
votes
5 answers

How to change the default application for WEBLOC files?

On macOS Sierra, I am encountering a strange behaviour of WEBLOC files. In the Open with: section of the Info window, the drop down list for choosing the default application is greyed out. It is set to Safari even though I have chosen a different…
mach
  • 850
  • 1
  • 8
  • 15
20
votes
2 answers

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

I noticed I had this file in the Macintosh HD folder. And then when I click on it, it shows this: Apparently this file was created in 2017, but I don't remember creating it. Any idea what it could be? Its content: #!/bin/bash func_4(){ /bin/mkdir…
Friendly Siren
  • 311
  • 2
  • 4
19
votes
4 answers

Copy new files only - is this possible? Basically want to merge two folders

I have a folder on Drive 1 called Music, and it is 100GB. I have a folder on Drive 2 called Music, and it is 116GB. It's the most updated version. How do I copy the Music folder from Drive 2 to Drive 1 without having to rewrite every single file?
dallen
  • 357
  • 1
  • 3
  • 8
19
votes
3 answers

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

I'm not seeing an option to choose plain text encoding (.TXT extension) when saving a file in TextEdit.app in macOS. My documents seem to all be rtf - rich text format. How can I change this?
nylypej
  • 820
  • 2
  • 9
  • 11
19
votes
1 answer

Paste path into File Open/Save Dialog?

How do I paste a file path into a standard file open/save dialog? I have googled this and found articles that say that the normal ⌘ CMD-V will work, however it does not work for me. I'm running Mac OS 10.10.2 with minimal system customizations.
clay
  • 1,087
  • 1
  • 9
  • 10
18
votes
1 answer

What is installer.failurerequests in the root directory?

I just noticed a file called installer.failurerequests in my root directory: cd / ls Applications/ User Information@ cores/ installer.failurerequests sbin/ Library/ Users/ …
user1256923
  • 3,466
  • 8
  • 30
  • 44
1
2 3
28 29