Questions tagged [filesystem]

The system used to format and organize files on a disk. This includes directory structure, permissions management, metadata, and more. The current default file system for macOS is APFS (High Sierra and higher) and HFS+ (Sierra or lower).

Filter by
Sorted by
Tagged with
1 vote
2 answers
606 views

Which files should be excluded in an rsync backup (with macOS Big Sur / version 11.5.1)?

Context: I've been backing up my MacBook Pro with rysnc (now version 3.2.3, protocol version 31) to external hard drives formatted with NTFS. I'd like to continue with this procedure if possible. ...
0 votes
0 answers
39 views

How to delete from system files? [duplicate]

So, I was trying to use ubuntu using UTM; after I was satisfied with its performance, I thought of uninstalling the VMs. Now, the problem is even after deleting from UTM. I still have quite some space ...
0 votes
3 answers
72 views

List folders with size and number of files

I'm trying to clean up my files and I'm struggling with some command line stuff. With the command du -sh * I can get a nice list of all folders where I use the command. How can I also get the number ...
1 vote
0 answers
21 views

Where can I find the icon for external Drive?

I know a bunch of system icons are located under /System/Library/CoreServices/CoreTypes.bundle/Contents/Resources, but I can't seem to find the icon for external drives there. Any idea where it might ...
0 votes
1 answer
990 views

Migration Assistant won’t copy (some) files, though running through smoothly without error

we’re just migrating my wife’s MacBook Pro to a new one, both most recent macOS versions via a TimeMachine backup. In the process all files are selected, Migration Assistenten on the new mac runs ...
2 votes
0 answers
158 views

Recovering a deleted file on MacOS

There is an old Unix trick for attempting to recover a deleted file where you run $ sudo grep -C100 string-known-to-be-in-file /dev/sda1 which takes a very long time, but can at least recover a ...
1 vote
1 answer
87 views

mdls does not work on mounted sparse bundles

mdls does not return anything when I run it on a mounted (originally encrypted) sparse bundle: ❯ ll ./test .rw-r--r--@ 0 evar 14 Sep 18:34 ./test ❯ mdls ./test ...
8 votes
2 answers
3k views

How do I get the path to a DMG (disk image) file given the mounted volume path?

I tried hdiutil info -plist, but if I shift the DMG file elsewhere after mounting it, it doesn't update the DMG path. If I right click and select 'Get info' on the volume, I'm able to view the correct ...
0 votes
1 answer
103 views

Change ownership of files to remove need for multiple permissions

In my home (/Users/) folder I have many files migrated from previous installations, with different Owners and Permissions set. /User shows I have three Users set in addition to Guest and Shared. I ...
0 votes
2 answers
37 views

Hidden files showing in finder, but not in terminal

I'm setting up a new Mac running Monterrey 12.4. I've used the standard method of the following terminal command: defaults write com.apple.Finder AppleShowAllFiles true; killall Finder This doesn't ...
12 votes
1 answer
5k views

A command line utility to test the status of files in iCloud drive directory

Is there a command-line program that determines the status of files (uploaded, uploading, ineligible, etc) in the iCloud drive? For example, I would like to be able to use a program such as find to ...
-1 votes
1 answer
19 views

Files in "Revert to" stored?

If I store a (for example) Numbers file on a USB flash drive, will all the previous versions of that file also be stored on the same flash drive (File > Revert To > Browse All Versions)? Or are ...
1 vote
0 answers
23 views

sshfs mounted directory - Operation not permitted

I have been facing this 'Operation not permitted' problem and tried to solve it with different solutions found on the internet but none of them helped. Hoping to get some insights here. I usually ...
0 votes
1 answer
82 views

Tomb Raider II save file location on MacOS Monterey (Aspyr Media)

I used to use MacOS Mojave, and used the Aspyr Media version "Tomb Raider II" on the App Store. This game no longer works in later versions of Mac, so I dual boot Mojave and run it there. ...
2 votes
1 answer
123 views

Windows mklink links and Mac

On a Windows AD Server, I have a made a mklink /d to a different file system shown a directory and this all appears to link up nicely for PCs on the network, but the Mac's are unable to follow the ...
0 votes
1 answer
42 views

How can I search a specific type of file on a macOS with a condition?

I want to search only files created by Fl Studio but if I search in Spotlight for files with the .flp extension I get also the autosaved versions of the files. Is there any way to search only the .flp ...
0 votes
0 answers
66 views

How can I generate a spreadsheet of a folder structure on my computer with folder sizes included?

I'd like to make a spreadsheet of a folder structure in my filesystem. Given a parent folder or volume as the input, the output should include: Subfolders to the nth level (user-specified) A clean/...
0 votes
2 answers
120 views

A Better Way to Organize Project Files for Freelancers?

Every year I work on many different projects, from design, to coding, to 3D design, to personal projects. My usual model currently is to create folders for each project and after I am done with them ...
2 votes
1 answer
505 views

Recovering "Damaged" Files on External USB Drive: GUID, HFS (can not open files)

I had some files on an old thumb-drive, and recently I was going through and discovered that all/most of the files were no longer readable by any of my macs. I seam to remember having similar problems ...
0 votes
1 answer
253 views

APFS - Catalina - Increase the size of a container

I have a 4TB external SSD. Running Diskutil I get /dev/disk3 (external, physical): #: TYPE NAME SIZE IDENTIFIER 0: GUID_partition_scheme ...
13 votes
5 answers
23k views

Why isn't finder finding all files?

I had a Smart Search for my Photo Stream files located at ~/Library/Application Support/iLifeAssetManagement/assets/sub/, searching for JPG and PNG files. I found that not all files were showing up. ...
0 votes
1 answer
20 views

Mountpoint of network shares

Where exactly are network shares, more specifically samba shares located in the file system tree? I have some trouble with hidden samba shares on a windows server that I need a lower-level look at ...
1 vote
1 answer
360 views

Files grayed out in Finder. Can preview them, but cannot open, move or copy them

I don't know how they got this way. I have files with this problem in at least several directories. I found out about them today because I was trying to move a ton of directories to a new disk (...
1 vote
0 answers
16 views

com.docker.docker repository doesn't display it's real name

I have Docker on my Mac and just for curiosity's sake, I went to the Docker repository to see a bit how it is : ~/Library/Containers/Docker But this repository is kind of strange. When I display its ...
0 votes
0 answers
16 views

can automount & /etc/auto_master mistakes breach the read-only filesystem?

My system is Catalina 10.15.6. I've been trying to configure automount to mount a share on my Synology NAS "on demand". It's not going well :) I can't fully retrace my steps, but I'm trying ...
1 vote
0 answers
10 views

Naming folder "Framework.Service" appends ".app" extension which can't be removed

I'm currently having a really weird problem. I've checked out a git repo which has a folder named Framework.Service. When I run ls in the terminal it shows the folder name as is. But when I look at it ...
5 votes
1 answer
236 views

Size in bytes is significantly less ( half the size) then size in MB in get info window

In the get info window it says 387,037,139 bytes which is 387 MB whereas the size on disk is 716.9MB which is 716,900,000 bytes. du -sh paramgen result (in MiB) 684M paramgen Why is there such ...
1 vote
1 answer
93 views

How does file access time updating work on macOS?

I have a volume on my 12.3.1 M1 Macbook Pro, /System/Volumes/Data, which has attributes apfs, local, journaled, nobrowse, protect but not noatime. I would assume, then, that any access of a file in ...
0 votes
1 answer
34 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 ...
1 vote
0 answers
273 views

How to change a file extension on an iPad

I’m just starting to use an iPad for work, and I often need to change file extensions. For example, I might need to rename example.txt to example.md. It seems like the way to do this should be to long-...
5 votes
2 answers
817 views

Where can I find the APFS format documentation / volume specification?

One of my favorite Mac apps, DiskWarrior, has been waiting for the APFS format documentation (also called the APFS volume specification) for a while, in order to make a new program version which can ...
87 votes
8 answers
72k views

How to set to open folder with enter in finder?

I want to set to open a folder in finder with Enter. I know it's possible to open a folder with ⌘ Command + ↓ Down Arrow but I don't like it and I never use it because it's easier to use the trackpad,...
1 vote
1 answer
45 views

How can I best configure this hard drive?

I have a Mac Mini with two hard drives inside. The 1st one has an OS installed, and the files I work from. But I wanted to have the second one be used partly for storage, and partly have an OS ...
0 votes
0 answers
22 views

MyTime Machine backup keeps filling up and it doesn't make sense

I have an internal 1TB drive on my iMac M1 and an external 4TB backup. I keep getting the message that my Time Machine backup is full. About two weeks ago I got this message and it didn't make sense ...
0 votes
0 answers
13 views

Associating .drawio.png with Diagrams.net desktop application

Diagrams.net supports saving diagrams as Editable Bitmap Images. Essentially this means that the diagram is rasterized and written out as a .png image with the editable version stored as metadata in ...
0 votes
0 answers
32 views

Prevent automounting of a Linux drive

I have a USB stick which is used for backup in a Linux VM (via parallels). Everything works fine there, except that every time the VM is powered off, the USB stick is handed back to macOS, which ...
0 votes
1 answer
16 views

Set Date Modified to oldest of selected files in Finder?

I'm trying to write a shell script to use in a Service I'm creating in Automator to change the "Date Modified" of all files selected in Finder to the date of the oldest modified file ...
1 vote
1 answer
39 views

How to fix unresponsive filesystem without rebooting?

I tried to mount an external storage device in MacOS 12.3.1 using sshfs, but I had to stop this process in the middle of whatever it is doing. Now, when I do a ls -l in the file system it hangs for ...
4 votes
0 answers
64 views

What does "preparing for copy/move" do in Finder?

This question has been around for a dozen of years, but all answers concentrate on how to speed up and usually date back quite a while. Contratry to that, I'd like to understand what phases Macos goes ...
1 vote
1 answer
300 views

Installing Kernel Debug kit (KDK) on Big Sur 11.1

I'm trying to install the KDK package on a VM with BigSur 11.1 on it (20C69 build). I used Apple's guide for general guidelines, and this guide for details. It appears that since Catalina, the system ...
0 votes
0 answers
39 views

What is the directory that my camera files are under?

I've been trying to change the permission on my external camera (Cannon brand) to read and write, but have had trouble locating the device's directory. It uses USB 3.0, and it shows up in system ...
56 votes
7 answers
11k views

Do Macs need to be defragmented?

I don't see any application to defragment my Mac (running OS X). Is defragmenting not necessary for Mac OS X? If so, why not?
1 vote
0 answers
51 views

macOS: I can't delete a file from Finder and it's not visible in the Terminal

I saw there are other similar questions here but I could not find an answer for my case. I have a file that I can't delete, that: it is visible in Finder and it is not in the Terminal therefore I ...
3 votes
3 answers
1k views

How to delete a system file as an admin

I am an "admin" user on a Mac running Big Sur. I am trying to remove a symlink: $ ls -al /usr/bin/python lrwxr-xr-x 1 root wheel 75 Jan 1 2020 /usr/bin/python -> ../../System/Library/...
6 votes
1 answer
318 views

What is the purpose of directory /var/dirs_cleaner?

I'm using a 2020 MacBook Pro on Monterey 12.3.1, and noticed a new directory, var/dirs_cleaner which is empty, has permissions of read and write by the system. I've tried to find out on Google, but ...
-1 votes
1 answer
178 views

How to show the latest modified date of any files underneath a given directory? [closed]

As shown in this reverse chronological order listing the last file or subdirectory of '.' was modified on April 12, but the date of modification shown on the directory itself is April 17. I would ...
1 vote
1 answer
30 views

MBP running 10.15.7 shuts off on boot/corrupted boot filesystem

I've been trying to fix this issue for the past week or so. Some sort of boot issue seems to occur once a year on this machine, and I will be upgrading but need this one to hold on a little longer. ...
7 votes
3 answers
2k views

How to find "file-release" in OS X El Capitan 10.11.6?

I can not find file-release through command line on OS X El Capitan Version 10.11.6. On my virtual machine in Ubuntu I can do "ls /etc/*release" and it shows me two files with all needed information: ...
0 votes
2 answers
716 views

Pool multiple drives into a single network share in macOS 10.14 or later

I have a mac fileserver with multiple drives that I'd like to combine into a single pool (such that the filesystems appear to be combined together) and then have accessible as a network share, ...
1 vote
1 answer
72 views

How can I combine my MacBook's hard drive partitions?

I have a MacBook Air running Big Sur with a 256GB hard drive that is formatted like this: Because of this, I have extremely limited storage space to work with, even though I never set it up this way ...

1
2 3 4 5
19