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
0 votes
0 answers
11 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 ...
  • 3
1 vote
0 answers
52 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....
  • 7,332
0 votes
0 answers
18 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
14 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
57 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)...
  • 360
2 votes
2 answers
75 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
11 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,...
  • 11
2 votes
1 answer
67 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
45 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" ...
  • 366
0 votes
1 answer
30 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 ...
  • 161
0 votes
0 answers
57 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
15 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 ...
1 vote
0 answers
337 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 ...
  • 111
6 votes
1 answer
4k 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 ...
3 votes
1 answer
499 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
0 answers
46 views

Xcode can't delete OneDrive files

When I put my Xcode project in OneDrive, I can't delete files from that project in Xcode. When I hit delete, it just ignores me. When I try to delete an image asset, it also ignores me. I have to ...
  • 11
0 votes
1 answer
255 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
0 votes
0 answers
42 views

Unable to Drag & Drop to Folders in Sidebar

On late 2019 rMBP running Catalina 10.15.7 I tried to drag and drop some screenshots and folders into a folder on the sidebar. And the files & folders would just go back into where I pulled them ...
0 votes
0 answers
13 views

I’m at a loss, Mac OS 11 drive full [duplicate]

I tried everything and every other tool but I cannot find why my Mac drive is filling up. Mac OS 11 250GB SSD on a 2015 Mac mini. I just cleared. Any ideas?
0 votes
1 answer
136 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 ...
  • 3
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 ...
0 votes
1 answer
1k 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 ...
  • 671
1 vote
0 answers
54 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 ...
  • 111
5 votes
2 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 ...
  • 5,554
3 votes
1 answer
3k 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
216 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 ...
  • 31
0 votes
0 answers
39 views

Find out which process creates a file/directory [duplicate]

There's a file and a directory that gets created semi-randomly and I'm struggling to find out which process is creating it. After deleting the file, it will get recreated later (more details about ...
  • 2,916
2 votes
1 answer
64 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/...
  • 392
0 votes
0 answers
107 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 ...
  • 525
0 votes
1 answer
1k views

AppleID reports storage smaller than the size of the Photos Library on the Mac

Several days ago, after posting this question, I surrendered to Apple and ticked the box to synch Photos between my iMac (macOS 12.2.1, 1TB SSD, not Fusion) and my iPhone and MacBook Air via iCloud. &...
2 votes
1 answer
433 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 ...
  • 350
0 votes
1 answer
867 views

Is it safe to delete Microsoft-"Clones" from Library/Caches?

I tried to clean up my mac and get back storage. I tripped over a 1,98GB Folder in the Caches Folder containing a Microsoft Excel Application. its in /Library/Caches/com.microsoft.autoupdate.helper/...
  • 3
5 votes
0 answers
2k views

Can't select files or folders in dialog box

Every time I want to save or open a file from any program (Chrome, Keynote, Numbers, Safari,...) on my 2021 MBP, when the dialog box opens I can't click on any of the folders or files, nor can I click ...
  • 51
1 vote
1 answer
50 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 ...
2 votes
1 answer
445 views

Where Safari 15 store tabs opened in groups?

"Regular" tabs (tabs not opened in groups) are stored in ~/Library/Safari/CloudTabs.db but tabs opened in Tab Groups aren't there, so where are they stored?
  • 696
1 vote
0 answers
388 views

How do I get iCloud Drive to sync again when folders suddenly get duplicated?

I've got iCloud Drive on a computer that runs Windows 10. In the beginning all folders from iCloud.com synced to the local iCloud Drive folder. Then, at some point some of the files and folders ...
3 votes
1 answer
79 views

What's the most appropriate directory where to place 'development software' and 'files' shared between users?

In Linux (Ubuntu in my case) if exists many users, each one with its home directory, such as: /home/alpha /home/beta /home/omicron to share development software and files between/among users I've ...
0 votes
0 answers
491 views

Can't delete “.sass-cache” because its pathname is too long

I get the error Can't delete “.sass-cache” because its pathname is too long. when I try to empty my bin. sudo rm -rvf ~/.Trash/* doesn't work, it returns zsh: no matches found: /Users/cmiksche/.Trash/...
2 votes
1 answer
240 views

Disk drill is showing files, but they are not accessible in finder

I'm having the common issue where I have a ridiculous amount of storage taken up by "other", and have enlisted disk drill to help work out where the culprits are. In disk drill, I have ~90Gb ...
  • 121
0 votes
1 answer
377 views

hidden files named "Icon?" on my macbook pro cannot be removed [duplicate]

In some of the folders, there is a hidden file Icon? (filesize 1.3MB; not icon of file, but filename being Icon?). Once I rename or remove it, it appears immediately again. What created these Icon? ...
  • 193
0 votes
1 answer
48 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 ...
  • 771
1 vote
0 answers
46 views

Flattening/extracting from folders with duplicate file names in correct order, is this possible in finder/terminal/any app?

I know the trick of command F and searching within multiple folders to copy paste and get out different named files from folders quickly, but I often come across horrible folders like this with the ...
  • 51
1 vote
1 answer
292 views

Sort files into folders based on first two digits of filename?

I constantly get hundreds of .pdf files I would like sorted into folders based on the filename. The filenames are made up of a couple elements, although only the first string of letters and the first ...
2 votes
1 answer
402 views

Automator - Open Windows File Path On Mac

I am trying to create an Automator service that allows a user to highlight a link that has been emailed by a Windows user, and have it open to the equivalent SMB share on a Mac. For example: Windows ...
1 vote
0 answers
208 views

Where did the AdvanceKeyBase folder in /Users/Shared come from?

Where did the AdvanceKeyBase folder in /Users/Shared come from ? Its owned by root with group wheel there's also a hidden folder called Key-Base with the same permissions / ownership. It's a recent ...
0 votes
1 answer
46 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 ...
  • 61
1 vote
0 answers
16 views

Open Downloads folder on iPhone when a file is added

I'm on an iPhone 11 Pro running iOS 14. Is there a way to open the Downloads folder in the Files app whenever a new file is added?
  • 777
1 vote
0 answers
1k views

"Illegal byte sequence" when trying to rm a file

When I try running this command rm -rf node_modules I get this error: rm: node_modules/core-js/core/function.js: Illegal byte sequence How can I fix it?
2 votes
1 answer
256 views

Are emoji color preferences stored somewhere on MacOS?

So I want to programmatically detect which color I used last for an emoji, e. g. if I used the 👌 emoji with the darkest skin tone (👌🏿) last, is there a place where that information is stored?
0 votes
0 answers
106 views

How do I give PyCharm access to my /private/etc/hosts file?

How do I give PyCharm access to this file?

1
2 3 4 5
9