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.

Filter by
Sorted by
Tagged with
18 votes
5 answers
8k views

Search file duplicates in OSX by hash

I am looking for a way to search for a determinate file in OSX (Maverick but more generally OSX). In particular I would like to do the following: given a File_001 I'd like to search if in the ...
1 vote
1 answer
53 views

How to associate a file with an app using "Commander One" on macOS Monterey

I'm trying to associate video files with VLC. I use "Commander One" as file explorer and I used to be able to do that through the Get Info dialog or the Open With option in "Commander ...
18 votes
4 answers
20k views

Which file types are "ineligible" for iCloud drive?

It seems that some files (or name thereof) are "ineligible" for iCloud drive. For example, if the file name ends with a tilde, it cannot be uploaded to iCloud drive. [Example of programs that produce ...
3 votes
1 answer
5k views

How to stop constant re-upload/re-download of my iCloud files?

I recently acquired a MacBook Pro (Retina), OS Monterey, and turned iCloud syncing on for Documents and Desktop. It had downloaded (made local copies) more than 200GB of files from my iCloud, then ...
0 votes
1 answer
56 views

Big Sur Finder iPhone File transfer to Mac external drive - over 24,000 files in a directory

I'm trying to transfer a directory on an iPhone, using Finder on Mac. One of the subdirectories contains over 24,000 files. The transfer takes a long time and it seems that the files are slowly ...
2 votes
1 answer
95 views

Error code -36 when trying to copy a .WPS file from an old floppy disk to my MacBook Pro

I am trying to copy a .WPS file from an old floppy disk to my MacBook Pro. I am using a Tendak USB Floppy Disk Drive (https://smile.amazon.com/dp/B01NCV01GY?psc=1&ref=...
0 votes
1 answer
2k views

Why did AirDrop change the file time attribute for one of my photos?

I was copying over one of my photos from the Photos app using the AirDrop share option. Once the file copied over to my Mac I was very surprised to notice that the created and modified file time ...
0 votes
0 answers
45 views

How to synchronize iphone pictures to a linux laptop?

Last year I purchased an iphone 8 which I connect through USB to my Linux laptop (Debian 12 bookworm). Now I need to change it because the screen is broken. Before doing that I would like to save the ...
249 votes
13 answers
336k views

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 ...
57 votes
4 answers
64k views

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. I don’t understand why is it so big. Is it really needed?
0 votes
1 answer
87 views

Getting old filesystem events - check which process deleted a specific folder

After macOS minor upgrade of Monterey I've noticed that a directory of mine has been deleted. is there a way to check in retrospect which process deleted my directory ? I know of fsevents, but it's ...
1 vote
1 answer
125 views

What's the purpose of the message that appears?

I cannot understand this message about the other computer. M1 is the other computer. I do copy on M1, but usually, that has nothing to do with the other computer. I do not understand.
0 votes
0 answers
18 views

Show Recent Folders in Title Bar

I love the ability to rename and move documents fro the Title Bar in macOS applications. The only thing is that the dropdown list for the Where field doesn’t include recent folders, so I always have ...
5 votes
3 answers
2k views

How to change the Spacebar Preview behavior?

I have some text file types that do not show their contents when I use the space preview feature on Mac. For example, the markdown files (md) show their content correctly, but dart files (dart) do not ...
0 votes
0 answers
25 views

Open files with prefixed with a pattern at the beginning of file name

I have several files with names c.XXXX and fort.XXXX, where XXXX are arbitrary characters. I want these file types to open by default in Emacs or TextEdit. How to do it?
284 votes
29 answers
527k views

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?
1 vote
1 answer
207 views

How to fix broken symbolic link in an M1 Mac?

file /Users/gani/.local/pipx/venvs/aws-sso-util/bin/python /Users/gani/.local/pipx/venvs/aws-sso-util/bin/python: broken symbolic link to python3.10 Here is more info: ls /Users/gani/.local/pipx/...
0 votes
0 answers
182 views

How to copy files from iPhone to Windows PC?

First time iPhone user and this does not exactly seem like a straightforward process. I have a number of files on my iPhone that I'd like to copy over to my MS Windows PC. Most of them live in the ...
2 votes
1 answer
619 views

How to rename multiple files & filepaths at once on Mac without Terminal

Apart from this topic which offers a small variety of code scripts to use on Terminal, I thought using available apps would be more user-friendly. The Finder in macOS can rename multiple files only if ...
3 votes
2 answers
263 views

Desktop appears empty, files don't appear on the Desktop

My Desktop appears empty. All the files appear "missing". But I have not moved or deleted them. When I type in Terminal this command: ls -al ~/Desktop I see that all the files are present, ...
1 vote
1 answer
74 views

What causes the "file" command to report a JavaScript file as "HTML document text"?

I downloaded a JavaScript document, but it fails to load in my webpage, stating that the mimetype of "" is not acceptable. When I use the file(1) command on the JavaScript file, it tells me ...
0 votes
1 answer
1k views

Does the `mdls` terminal command access metadata in resource forks?

I always knew that Mac operating systems had a concept of "resource forks" but have just learned that this feature has in fact been deprecated since the arrival of OS X. I also just discovered the ...
6 votes
6 answers
6k views

"File" NOT "App"... can't be opened because it is from an unidentified developer

got an mp3 via email from a musician friend of mine today. when i try to open it (in any app... itunes, quicktime, vlc, etc), i get this message as if it's a new Application that i just downloaded ...
0 votes
0 answers
54 views

macOS files "connected" but no symlink?

Disclaimer I’m not sure how to even phrase the issue here. So if you find a better way, please comment it, I’ll edit the question. I don’t know either if it’s a LyX or macOS related question. So ...
455 votes
7 answers
651k views

How can I create a symbolic link in Terminal?

What command is used to create a symbolic link/soft link?
0 votes
0 answers
72 views

Incorrect/Generic Icons for Zip Files in Dock Downloads Stack

Several months ago I started seeing a generic document icon for ZIP files when they are shows in my Downloads stack in the Dock. I've tried clearing icon caches from icon service and the Dock, but ...
6 votes
2 answers
16k views

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

I just need to know how to search (within Finder vs Terminal, if possible) for all file names within a specific folder, which begin or end with a space or a period. For example: " file.jpg" (begins ...
1 vote
0 answers
256 views

Safari can't save the file. Safari can't save the file "file.jpg" to the downloads folder

Safari on macOS suddenly cannot save common image files on any website. It instead shows the error: Safari can't save the file. Safari can't save the file "file.jpg" to the downloads folder....
0 votes
1 answer
518 views

Question mark box instead of my Mac name in Terminal

I'm normally using iTerm2, but lately I wanted to restore its settings because of a style that I didn't like, so what I did, was run the command which I've found in Re-setting iTerm on MacOS X rm ~/...
0 votes
0 answers
28 views

How can I reset all default applications for all file types?

In MacOS, I can change the default application to open a given type of file via Get Info: Where is this information stored, and how can I reset all of such settings for all file types to their ...
0 votes
0 answers
54 views

Folder sizes and disk usage do not add up

I needed to transfer the contents of a drive to a new drive and ran into an issue copying my Dropbox folder. I tried to copy this folder using rsync, but I found that it took 20 seconds between each ...
1 vote
2 answers
118 views

Can a locked file be moved in macOS?

I have a file which I've locked since I've accidentally changed it a few times when I meant to just use it unchanged for reference. I'd like to move it to a different folder (ideally using the Finder)...
2 votes
2 answers
160 views

How to find all files with double quotes in name on a mac

I tried to find all files with double quotes in name in the search field in Finder. When I just put " in there, it's not finding any such files. Also it suggests Name contains " in a ...
1 vote
0 answers
40 views

Identify files in one folder that aren't in another folder

I'd like to compare two folder structures and identify the files that are in Folder1 but aren't in Folder2. Note that Folder1 and Folder2 have different structures. I got close with this diff command,...
23 votes
5 answers
16k views

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 ...
5 votes
1 answer
214 views

Why is [dos] sometimes in the output of a save in "vim". such as: "foo.txt [dos] 38L, 193C"?

In certain text files, after doing a save in vim with :w, the output mentions [dos] as such: "foo.txt" [dos] 38L, 193C Why is [dos] displayed? As a simple test, I've created a new file with vim on a ...
0 votes
0 answers
56 views

Can't save any files into pdf now

I've been using Mac. Suddenly I can't save any files into pdf now. Can't print a webpage into PDF; can't print a word into PDF; and can't even sign on a PDF and save. Even Word's "Save as" ...
0 votes
0 answers
64 views

What is the location of macOS logon file?

Cant find location of OSX logon data file. Where I will be able to extract following info: DateStamps of console and tty creation. Username that run those sessions. How long sessions have been active....
0 votes
0 answers
23 views

Sharing files / folders between user accounts

I'm trying to share folders between 2 different user accounts and not having any luck, I keep getting the red 'locked' icon on my folders. So I have 2 folders in User A and would like to transfer to ...
10 votes
1 answer
10k views

Charlie Stigler and other random items running in the background?

I have a MacBook Pro with macOS Ventura 13.0. In System Settings -> General -> Login Items, I discovered that a random Charlie Stigler item was running in the background. I have no idea what ...
1 vote
0 answers
679 views

How to increase open file and max processes limit for Solr

I'm trying to run Apache Solr 8.8.1 on Ventura 13.0 and I get this warning: $ ./solr-8.8.1/bin/solr start *** [WARN] *** Your open file limit is currently 256. It should be set to 65000 to avoid ...
2 votes
1 answer
1k views

Random "The document could not be autosaved. You don't have permission." messages despite having permissions

Since I got a new computer, I'm getting the following message all the time in TeXShop (same version I had on my old computer): The document could not be autosaved. You don't have permission. This ...
3 votes
1 answer
1k views

How to reduce a Pages file's size?

Having been using Pages for more than 3 years but there is one thing that puzzles me so much. And it can be a problem since I have written so many Pages files, that is the Pages' file size. It is way ...
3 votes
2 answers
4k views

AppleScript editor cannot save .scpt file

I've created a simple AppleScript .scpt file, using TextEdit. If I now open it with AppleScript editor, I can run it. But when I try to modify and save it, I get the following error: It's ...
1 vote
1 answer
670 views

Hide specific filetypes in finder

SWIM works on a lot of different Ableton Live projects and has more than 25,000 '.asd'-files on their computer. On macOS dot-files are hidden by default in finder, does anyone know if it's possible to ...
10 votes
3 answers
19k views

Delete metadata

There is a program provided by Apple to see most of the metadata in a file. It is nice to have the metadata clearly arranged, but the catch is that you cannot delete it or I don't know how to delete ...
3 votes
0 answers
384 views

._ .DS_store files and so on when syncronizing cloud drive services

Is there a way to prevent Dropbox, or any other cloud service, from synchronizing those ._ and .DS_store files, although they exist in the Dropbox folder?
0 votes
1 answer
61 views

File Management advice needed (Adobe Lightroom Classic)

I'm finally getting around to moving my old Aperture library (~150,000 images) into Lightroom Classic and need a bit of advice regarding file management. Here is my scenario: All of my images (from ...
1 vote
1 answer
230 views

Accidentally moved my files with a sudo command to a non-existent directory. Now I can't find my files

On my mac, I tried moving all my .pdf files from my /Downloads directory to my documents directory but I made a typo. I used the following command: sudo find Downloads -name "*.pdf" -exec mv ...
6 votes
3 answers
1k views

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

Firefox can open pdfs, and for some purposes, it's pdf viewer is advantageous. In particular, the print menu has some options not available elsewhere. Unfortunately, it's not registered as a program ...

1
2 3 4 5
9