Questions tagged [folders]

"Folder" is the colloquial term for "directory" or "subdirectory", an abstraction of the file system hierarchical divisions used to organize files, documents, applicatons and pieces of programming code.

Filter by
Sorted by
Tagged with
3
votes
2answers
4k views

Can AppleScript get folder contents with file extension exclusion?

Looking for a way in AppleScript to get the contents of a directory with an exclusion to parse through. I know how to do this using find in a for loop with the command: find . -not -name "*.bat" but ...
1
vote
1answer
24 views

How to apply the parameters of view to all the directories?

I know how to setup the mode of the view for a directory: sorting, the size of icons, etc... However, this gets applied only to the current directory. Whereas I want to apply them to all the ...
2
votes
0answers
35 views

How do you remove Favorites Shortcut (.cannedSearch) from Network Mount?

I accidentally had the sidebar open and dragged the "All My Files" shortcut under Favorites into a server folder where client's folders are organized alphabetically. No one can seem to delete this ...
3
votes
2answers
510 views

Batch Renaming Folders

Is there a way to batch replace current folder names with increasing numbers? The "Rename Finder Items" built-in feature only lets you replace in the 'Find and replace text' kind of way. Not all my ...
2
votes
1answer
801 views

Changing the default folder for opening a new Finder tab or window in macOS High Sierra?

When I press ⌘+T or ⌘+N in Finder to open a new tab or window, for some reason it always starts in this folder: /System/Library/CoreServices/Finder.app/Contents/Resources/MyLibraries/...
5
votes
2answers
6k views

Why does Mac OS overwrite whole folders rather than merging their contents?

I’ve noticed that if I have two folders of the same name but different files in each, copying one on top of the other (eg: from different parent locations) will cause the contents of the first folder ...
2
votes
1answer
13k views

Am i supposed to have access for “com.apple.TCC”?

I was doing some snooping around on my Macbook Air after the update to macOS Mojave and noticed a folder that i have permission to view its contents that i dont have permission for on my iMac. The ...
1
vote
0answers
1k views

Sorting files on extension (kind) and then date in Finder? (Mojave)

When viewing a folder in Finder, by clicking the different column headings you can select how you want the folder contents sorted: by name, kind (extension), modified date, et cetera. What I would ...
2
votes
0answers
548 views

Massive .dmg file in /Users/username/firmware/ folder: any ideas what the heck it is?

So, I've discovered that there's a 2.57GB .dmg file in the /Users/username/firmware folder on my Mac (High Sierra v. 10.13.6). The filename is <058-97232-130.dmg>. There are a couple of other dmg ...
2
votes
0answers
85 views

Set folder properties to show extra information

I have seen that for certain folders such as Pictures, Movies, Music, show extra information in more columns when viewed in List View in Finder. For e.g., if I Ctrl click on one of the column names ...
0
votes
1answer
1k views

Empty AssetsV2 folder in Finder

I was doing some snooping around in the Finder on my mac and found that there is an empty folder titled "AssetsV2"(https://i.imgur.com/ohxkTp6.png). Im unsure of the direct path but it's found by ...
1
vote
1answer
35 views

Find all folders with rwx permissions for a certain user?

How do I find all the folders that have rwx permissions for a certain user? Preferably no admin, can use shell scripts, Terminal, Python 3.6.
4
votes
2answers
1k views

Sync files between two different folders on a single Mac

I am looking for a solution to sync files within different folders on a single Mac. The files are tracked under Git version control system, so I can't use aliases.
1
vote
0answers
23 views

Finder forgets /Applications folder's view options on each log in

I recently did a fresh install of macOS 10.13.5 on my MBP, and came across a problem with my /Applications folder that I haven't been able to solve. Finder will forget that folder's view options and ...
1
vote
2answers
91 views

Folder pop open but not in Finder

I'm running High Sierra 10.13.5 on my iMac. In the dock at the bottom of the screen, there is a collection of folders on the right side of the dock. When I click on one of these folders it pops open ...
0
votes
1answer
516 views

How to count the number of files and folders in iCloud Drive?

I have subscribed to a 2TB iCloud Drive account and uploaded several 100k files from a Windows 10 PC. During the upload, that took several days, the PC crashed and restarted for some unknown reason. ...
2
votes
1answer
197 views

Dock folder shortcut: Is it possible to change the sort order of files in subfolders?

I have a shortcut to a folder in the Dock. Here is how this folder is configured: This folder contains several subfolders. When I enter a subfolder by hovering the mouse cursor over a subfolder ...
16
votes
1answer
1k views

How to view any folder as if it was desktop

There's a folder called "Desktop" in the home directory. By default, when there are no windows on the screen, the contents of "Desktop" are shown over the background. I'm wondering if there's a way to ...
5
votes
1answer
281 views

Why is date modified for a folder earlier than date modified for files inside in Finder?

I’ve noticed that when I check the Date Modified for a folder and then open it, some files inside have a Date Modified later than the folder itself. This is confusing, because I sometimes sort folders ...
2
votes
2answers
452 views

How to combine “Choose folder command” with “adding folder items” function with Applescript

I'm using a folder action to create a "hot" folder, which immediately duplicates the files placed in this folder to a specific backup folder. This is the script I'm using as folder action and it ...
1
vote
1answer
258 views

How to always reveal the Safari Downloads Folder despite it being on another desktop?

I use different desktops as project spaces. This generally works great and feels organized. I can work on multiple concurrent projects and context-switch at will when I want to resume work on a ...
0
votes
1answer
205 views

Move an app to applications when it's installed itself elsewhere [duplicate]

I installed SmartGit on my iMac, and it put itself in the Eric's iMac folder, adjacent to Macintosh HD. When I open the SmartGit 18.1.2 folder, it has the following contents: It would be nice if I ...
2
votes
0answers
1k views

Split a large folder containing many files into a set of smaller folders

This seems like a pretty common use case: I have a folder containing multiple files which I'd like to split into multiple folders, where each output folder is no bigger than a given size. In short,...
4
votes
1answer
72 views

Risk of altering folder structure in Apple Photos?

I've used Apple iPhoto and now Photos for many years, and now have a library of about 32,000 photos and videos. Right now that library is on an attached drive with no rights, so family members can log ...
1
vote
0answers
145 views

Automator Not Properly Filtering Files Modified Within Last 7 Days

I am trying to automate the process of backing up my development files weekly. I want to automatically back up the files, filter through all of the files, and delete the files that have not been ...
3
votes
0answers
385 views

Make Merge Files the default behavior in (High Sierra) Finder when moving folders?

MacOS notoriously deletes whole duplicate folders when you are moving folders. That is, if you have a file structure: Folder1 └── Photos ├── Bright\ Selfie.jpg ├── Indiana\ Dunes\ at\ Sunset....
5
votes
2answers
4k views

symbolic link vs. alias

Disclaimer: I work with programmers, but am not one myself and have no real / formal knowledge of how an OS works; please be patient if the following makes plain my ignorance :) I am trying to ...
1
vote
3answers
1k views

How to obtain a list of files contained in a folder (as a text file)

I have a huge folder containing musical scores and books (mainly in .pdf). I would like to create a text document (TextEdit will do just fine) which contains the complete list of the folder's content ...
1
vote
2answers
506 views

How do I make aliases hidden in macOS?

When I enter in Terminal: chflags hidden location_of_alias it hides the actual original folder the alias points to but it does not actually hide the alias itself. How do I do it?
1
vote
0answers
89 views

Where is the information written to when you execute `chflags hidden` command for a folder in Terminal?

Does the chflags hidden shell command write information to the folder itself, or write it to another hidden file like .DS_Store? I'd like to know because I'm making a thumb drive and I'd like to ...
1
vote
0answers
436 views

MacBook Air High Sierra disk image not recognised couldn't open

I created a disk image from a folder using disk utility and now when I double click it to open it i get an error message saying image couldn't be opened. Image not recognised. What can I do?
0
votes
1answer
3k views

Cannot empty iCloud trash folder

I've had this infuriating problem for quite some time now, where I can't empty my Trash. More specifically, every time I empty it, there's a folder called temp(1) that keeps reappearing in there after ...
1
vote
1answer
853 views

How to stop folders being modified when you look in them?

When I open a folder, the "date modified" date changes. This is annoying if nothing in the folder has changed. I like to search for things by reverse "date modified" order, i.e. listing things that I ...
1
vote
1answer
1k views

Folder Actions missing in High Sierra?

I've been using folder actions for years. Ever since upgrading to High Sierra, my folder actions still work but the ability to add new ones is missing. When right clicking on a folder, there used to ...
1
vote
0answers
95 views

Finder takes forever to open a directory with a lot of subfolders on NTFS or NAS

On my external NTFS HDD I have my music collection with over 3800 artists in it, which is structured like this: /Music/Artist/Year - Album/, each artist as a separate sub-folder. When I try to open ...
2
votes
1answer
876 views

Merging multiple folders

I have multiple folders within a folder. Each of these folders contains only files (no subfolders). None of the files have duplicate file names. Is it possible to merge all of the folders to ...
2
votes
1answer
141 views

“Clean up by name” isn't sorting my files in alphabetical order

I have a folder containing six subfolders. Right-clicking on the Finder background and clicking "Clean up by name" sorts them into the order "1.0", "1.5", "1.6", "1.25", "1.56", and "2.0". This is ...
0
votes
0answers
187 views

How to keep last modified date of directories unchanged when files in directory change?

I am syncing files between macOS and a remote Ubuntu server. On Ubuntu, the date of last modification of a directory doesn't change when I store, modify or delete a file inside this directory. This ...
8
votes
3answers
34k views

What is the Preboot Folder?

Could someone tell what is the Preboot folder in /Volumes and may I delete it? $ ls -l /Volumes/ total 0 0 lrwxr-xr-x 1 root wheel 1 Oct 20 12:13 Macintosh HD -> / 0 drwxr-xr-x+ 3 root wheel ...
1
vote
0answers
74 views

Renamed Desktop folder and all files disapeared

I was using the program Lightroom and I tried to rename the Desktop folder to DESKTOP but when I clicked enter, it said "This folder can not be changed." I clicked "ok" and then all the files in my ...
4
votes
1answer
352 views

How to force files saved to the system's Downloads folder to be stored on an external drive?

I tried using symbolic links but they make me lose the default's Downloads icon which I don't want. Is there a way I can just made files saved or downloaded to the system's Downloads folder be ...
0
votes
1answer
2k views

Automator: Select only one file out of many files in a folder. Script needed?

I have a folder with different 100 rtf-text-files in a folder. I would like to have Automator to take the content of one text-file and send out it out via mail once a day to the same mailing-...
1
vote
2answers
9k views

How to replace the System's Download folder with one in an external drive?

When you open finder, there is a download folder with a unique icon. I'd like to move that folder to an external one and force the system to recognise that new location.
5
votes
1answer
2k views

VirtualBox - Sharing a folder

I'm a Windows 10 user, running macOS High Sierra 10.13 via VirtualBox 5.1.28. I didn't fully understand how to share a folder. The part that I did understand and did, is: Devices → Insert Guest ...
6
votes
2answers
8k views

Duplicate “iCloud Drive (Archive)” folders

I have two iCloud Drive folders. Is this normal behaviour? Can I delete one (how about both)? Running macOS Mojave 10.14
1
vote
0answers
455 views

Controlling .DS_Store files in Sierra

What exactly has changed in regard to .DS_Store files creation with the release of Sierra? Currently I am a bit confused about the behaviour (changes?) of Finder, the filesystem or certain GUI ...
0
votes
1answer
72 views

Diff over large subdirectories fails

I'm comparing two large directories on two different external FireWire 800 disks using diff -r /path/to/directory1 /path/to/directory2 The size of the directory (and its subdirectories) on one ...
0
votes
1answer
49 views

Sharing folder or adding user to folder permissions using Finder's Get Info not possible

I used to be able to add (or remove) users to this folder via Finder's Get Info. Today I noticed I was not able to do that anymore: When I select the Lock icon in the lower right hand corner and ...
2
votes
4answers
4k views

AppleScript: How to create a new Finder window for a folder that is already open?

The problem, outside of AppleScript: To witness the problem1, do the following: Double-click on a folder that exists on the Desktop. Doing so will open this folder in Finder.app. Return to the ...
0
votes
2answers
827 views

How to restore deleted Downloads folder

I accidentally deleted my Downloads folder as well as the sidebar item for it in the process of trying to fix it. How do I get them back?

1 2
3
4 5
11