Tag Info

Hot answers tagged

6

Use the "hidden" file flag for this: chflags hidden file1.txt directory "something else hidden" See the chflags man page for more info. To see which files are hidden (and other file flags), use ls -lO: $ ls -lO total 0 drwxr-xr-x@ 2 gordon staff hidden 68 Feb 27 00:52 directory -rw-r--r--@ 1 gordon staff hidden 0 Feb 27 00:52 file1.txt -rw-r--r-- 1 ...


3

Since I have a much newer system I couldn't accurately test with a 119 MB file as it took less then a second to copy in Terminal. So I created several much larger files, up to 2 GB, using dd and /dev/random as the source and made duplicates. I then rebooted and then did timed copies of each of the sets, one in Terminal and the other in Finder. This way ...


3

The way I've solved this is in the past is by bundling the contents of the virtualenv directory into Platypus and then activating the bundled Python interpreter with a script. Here's a screencap of the Platypus interface to show you what I mean: You'll notice that I've bundled the entire venv directory (which was created with the virtualenv command), and ...


3

A ~ file is simply a broken attempt to access and write to your home directory. This file should be safe to delete as it's not actually your home directory, but make sure you've got a backup in case you or another app needs it for any other purpose. Also, for what it's worth, ~ is not an alias to your home directory, it's just a shell expansion to the path ...


2

Modification dates for folders are only updated when the folder's contents are edited, not the folder's contents' contents. In other words, you probably edited something in the DES folder, which changed the modification date for the DES folder, but you didn't create, remove, or edit anything directly inside the blog folder since 2015-01-06.


2

The default permission on .Trashes do not allow for reading. Use sudo du -ch .Trashes as this will give you both the total and in "Human-readable" output vs. used sectors which you'd then have to convert. Also you should not delete .Trashes, just empty your Trash. If you want to take a graphical look at the contents of the disk use Disk Inventory X, you ...


2

Multiple cursors isn't a feature supported by Mac OS X by default. Some apps have it and if you want it in the rest of the system you will need too find an third part plugin. I think it would be hard to make that work even with a plugin. But if you haven't already I would recommend giving Google a try in finding one. Here is a link to an similar discussion ...


2

As noted in my comment from earlier, you can make an alias of the alias and it will acquire the icon from the original source... for some reason. The following example is with folders... so it's not the exact situation in the question, but I think it illustrates the point:


2

Be sure the file's own metadata is not set to hide the file extension. Right-click or control-click the file in Finder and check the setting in the "Name and Extension" area.


1

It has neither purpose nor name in OS X. Maybe Karabiner could do it, if you can figure out what key code it sends - try Key Codes to see if it generates anything usable.


1

I have seen Finder sometimes getting stuck still showing the last unfinished state of a file. This may be a refresh issue, especially when you say that restarting the Finder solves it. Alternatively, you could try to just run the application by simply double-clicking it. If the "prohibited" sign is valid, you will receive an error message stating the ...


1

You may need to try a little experimentation to get closest to what you need [also it may not always work as expected since Yosemite] If you right click the Finder icon in the Dock you get the options of All Desktops This Desktop Desktop n [only shows if it is currently assigned to another Space] None Each has advantages & disadvantages. All - ...


1

After doing some searches in the Library folder, the plists and the app icons of the app containers are located in: ~/Library/Application Support/CloudDocs/session/containers/ Change the BRContainerName property in the plist of an app container, and restart the Mac. The iCloud Drive in the Finder will then display the changed name. As shown in the ...


1

You can enable keyboard control in Preferences With this, You can switch between buttons with ⇥ TAB and select it with Space. Active button will have blue border. NOTE: default buttons (all blue) are still clickable with ⏎ RETURN.


1

The Finder search box does not support wildcards. You can add additional criteria to narrow down your search, though. Enter _doc in the search field to start a search. In the bar that appears (showing "Search: This Mac" etc) click the plus sign button all the way to the right. In the new row that appears, in the first combobox, select Name, then in the ...


1

Either, in a Terminal: killall Finder Or, from the Apple menu, Log Out and then log back in. Either should cause the Alias to show the correct icon. In the event the Alias doesn't update after this then delete the Alias and recreate it.


1

Finder tags were introduced in Mavericks (10.9). They're not available in earlier versions of OS X.


1

I wouldn't suggest continuing to use an external drive for your MBP, apart from anything else it's just not practical. It seems like your internal drive has or is just about to fail. Have you/can you check it's SMART status from disk utility? Either way, I would suggest not worrying about trying to verify or repair it - just try and get your important ...


1

I find mouse/trackpad-clicking the triangle while holding the Alt/Option or Command key works too.


1

If you have Yosemite, it is built into Finder. Just select the files, rightclick and choose "Rename n files". Then change the dropdown to "Filter" and voila! You have batch renaming options!


1

As noted above, the issue is the icon cache. Clearing all of your caches will work, but I'm not a fan of blunderbus approaches. Deleting ONLY the icon cache, if you'd prefer a more targeted fix, will work just as well. The icon cache lives here: /Library/Caches/com.apple.iconservices.store Deleting just this folder and restarting will change the icons ...


1

You can use gcp from homebrew for this. Install gcp with brew install coreutils Then You can make something like this: gcp --parents drawable*/ic_icon1.png /path/to/output/dir This will copy all ic_icon1.png preserving directory tree. From man gcp: --parents use full source file name under DIRECTORY


1

OS X uses the Spotlight index for both the "Spotlight" search and "Finder" search. I don't believe it is possible to exclude something from one, and not the other, as they are both technically "Spotlight" searches, just with different graphical representations.


1

Select the file in Finder and select "Get Info" cmd + I. Click on the "Name & Extension" option in the Get Info window. Uncheck the "Hide Extension" option.


1

Thanks for posting this information - it was very useful in helping me come up with a solution for the sidebar issue within Yosemite. Our users take their sidebar folders seriously and so we needed to come up with a way of backing up and restoring the contents of the sidebarlists.plist, since Yosemite is so flaky. I originally tried this method: Backup: ...


1

First, make sure the user is the owner of their home directory. In Terminal, sudo ls -lFad /Users/(username) and that the permissions are set at least "rwx" for the owner. Likewise, for the /Users/(username)/Library/ folder. There are temporary cache files in /var/folders/(two letters)/(more characters)/ for each user. You can find the specific one for ...


1

Quick answer, nothing happens. If you delete it, .Trash will be created again once needed. You can delete it without issues, no matter if you delete from Finder or from command line (rm) will back again.


1

Searching a TimeMachine backup is tricky - for one thing Spotlight has not indexed the backup (do not tell Spotlight to do this - you will be in for a world of hurt) Second, you are sort of correct about about TimeMachine being virtual. what it really is a hundreds of symlinks that link about in all kinds of crazy ways. Your best bet, is to mount the ...


1

In order to eliminate the User profile problem, log in as different user and check. I would also repair the System permissions (in disk Utility) and the User permissions (the ACLs)


1

The quick and dirty way to trash a folder is to move another folder with the same name into the existing folder. It looks like you have a folder t which might be amenable to making a new folder on the data drive and name it identically to the folder you wish to nuke and then trashing the "new" t folder. If that doesn't work, you should be able to open a ...



Only top voted, non community-wiki answers of a minimum length are eligible