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.
452 questions
1
vote
0
answers
14
views
macOS associate filetype with executable
Using macOS (Sequoia) I want to associate a filetype with an executable. Not an application, a .command executable. Done it in the long past, so that a double click on the file ran the chosen ...
0
votes
1
answer
18
views
Shortcuts: saving photos as files?
My shortcut for doing so where I just have a block "Save Photos as files" stopped working in iOS 18. I want to save photos in the files app in any selected directory.
1
vote
1
answer
33
views
An app changed file associations without my permission - how do I restore them?
I installed an AI coding IDE by dragging it to my Applications folder. As soon as I opened it, it changed my Finder such that all .md, .json, .txt etc. open with this new app instead of others. I do ...
3
votes
0
answers
96
views
Safari Can't Open Downloads Directly
I am not sure why but recently when I download PDF, PNG, HTML, Safari prevents me from opening it in the download button to the right of the search bar. I have to go to finder to open it manually. Any ...
0
votes
0
answers
14
views
How do I replace a folder of photos on Mac Photo with a new photos
In Finder, I modified the original image file name to be more descriptive. Now I want to re-import it into Photo. But Photo won't use the new file name in the photo information. It will import the new ...
0
votes
0
answers
30
views
Is there a way to use a second Mac with its own OS to transfer elements and windows back and forth easily?
I have a newer Mac (MacBook Pro 2019) and an older one (iMac 2011).
For many reasons having to do with the fact that neither computer is compatible with the entirety of my software and devices, I ...
5
votes
2
answers
674
views
Deleting all files but some on Mac in Terminal
Is it possible to write a command in Terminal that would delete all files on Mac except for some?
Let’s say I have one general folder that consists of N folders with different titles/names. I need to ...
2
votes
0
answers
282
views
How can I disable file extension correction on macOS Sequoia?
I'm on Sequoia 15.1 beta version.
Whenever I try to save a file with a e.g. a text editor, and it uses the standard macOS file saving dialog, it autocorrects my file endings without asking me. For ...
19
votes
5
answers
3k
views
How to remove a file which name seems to be "." on an SMB share?
Overview
Incorrect specification of an argument in a commandline tool (details below) has led to the creation of a file literally named ".". I have already found out that directly trying to ...
0
votes
1
answer
131
views
How do I use Automator to open an application with a file
I often find myself opening files such as .plist or .json files, etc., as plain text files for viewing in TextEdit. But often I need to follow Open With > Other… and then find TextEdit in the pop-...
0
votes
1
answer
86
views
Can macOS be made to forget a file type?
A long time ago I made a simple CoreData, document-based app and used Xcode to make a file type/extension to go along with it. Now, I'm following the WWDC videos from last year to try to update to ...
3
votes
1
answer
56
views
ES Explorer is using over 50GB: how can I empty it without reinstalling it?
ES Explorer is using over 50GB on my iPhone 12 mini (~57.7GB):
I don't see anything in ES Explorer:
How can I empty it without reinstalling it?
0
votes
0
answers
116
views
Keynote SVG export?
Now that you can import SVG (as of Keynote v13.1), how can I export the shapes created/modified in Keynote back out to SVG?
2
votes
0
answers
102
views
Cannot set default file associations for .xml files
I'm on MacOS Ventura. I use it for work so MS Office is installed.
No matter what I do, XML files seem to always want to open with MS Word. I want them to open with another app. I'm using TextEdit as ...
0
votes
2
answers
44
views
How are template documents supposed to work?
I saved a iWork Numbers document as a template (and if I look at the file's file information in Finder, the template checkbox is checked). I later opened this template document on computer A and ...
3
votes
1
answer
90
views
Bulk copy/export name, Modification & Creation Date from multiple files in a folder
I have a bunch of files inside a folder that I want to get the Date Modified and Created from and copy it into a text document or some kind of tab delimited document. I have no idea how to do this.
...
3
votes
2
answers
1k
views
How to search file contents on iOS?
Is it even possible? Like, for example, list all php files that contain the word “filter”?
0
votes
0
answers
131
views
How can I make file:// links open the file instead of revealing it in the Finder?
I can create a hyperlink within a document in e.g. TextEdit, and set the URL of the hyperlink to file:///path/to/my-file.txt.
When I click on the hyperlink, I want my-file.txt to open in the default ...
1
vote
1
answer
235
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 ...
0
votes
0
answers
235
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 ...
1
vote
1
answer
127
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
33
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?
2
votes
1
answer
874
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
757
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 ...
3
votes
1
answer
2k
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
5k
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, ...
0
votes
0
answers
89
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 ...
1
vote
0
answers
488
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
0
answers
108
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
250
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
316
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
128
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,...
2
votes
1
answer
133
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
0
answers
58
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
1
answer
126
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 ...
0
votes
0
answers
87
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
41
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 ...
2
votes
0
answers
895
views
How to increase open file and max processes limit for Apache 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 ...
12
votes
1
answer
17k
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 ...
4
votes
1
answer
2k
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 ...
0
votes
1
answer
886
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 ~/...
1
vote
1
answer
293
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 ...
8
votes
4
answers
2k
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 ...
2
votes
1
answer
3k
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 ...
1
vote
0
answers
160
views
Combining lots of photo folders
I have lots of photo folders, including some with duplicates. I want to end up with a master set which contains everything, with no duplicates.
I was wondering what would be the best way to do this? I ...
5
votes
3
answers
3k
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 ...
4
votes
1
answer
7k
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
418
views
Create a shortcut for opening file paths
in my office we're using Dropbox as our file server and we're sending a lot of file paths all the time. I'm looking for a way to speed this up.
I know how to change the shortcut cmd + option + c so ...
2
votes
1
answer
85
views
`/tmp/` is filled with numbered empty files over time (`0000000011xxxxxx`) [duplicate]
On my MBP, /tmp/ fills up with empty files named 0000000011608c4c, 0000000011944a47 etc. They're owned by root:wheel and a lot of them are created at once at seemingly random times:
$ ls -ltr /tmp/...
0
votes
0
answers
259
views
Monitor file access, according to pid
I was wondering how can I use lsof to run in streaming mode, so it will print all files access (RWX) from a specific process (pid).
Also, maybe there's a way to use lsof to catch only files that were ...