- Why Does My Mac Say Closing The Library When I Click On Photos
- Why Does My Macbook Say Closing The Library
39% of women (vs. 25% of men) say closing the library would have a major impact on them and their family. 37% of those living in homes with annual incomes of $30,000 or less say the possibility of closing their local public library would have a major impact. Library users are evident throughout the population. 2020-4-5 We’re going to show you how to locate the image files that are contained within the Photos app on Mac OS. This is specific to Photos app, if you don’t use the Photos app to manage pictures on your Mac then your photos will not be stored within the applications package library and instead you’d likely find them through Finder in the generic Pictures folder or elsewhere in Mac OS.
Rating 3.10 (21 Votes)In this Tip's N Tricks article, I want to point out a very important tip for getting around one of Apple's more peculiar security precautions in Mac OS X Lion and Mountain Lion. By default, the User Library folder is hidden in Mac OS 10.7 and above. The user library's location is here: Macintosh HD Users YourUserName LibraryOnly one problem The User Library is hidden From view in the latest versions of the OS. Find application folder on mac. We'll cover a few different methods to easily access this hidden folder.The User Library is home to many 'under the hood' files and folders that correspond to the various Apps and system processes in your computer.
Click here to return to the 'Cannot empty trash because item is in use' hint |
My problem is that frequently the file said to be in use is NOT in use, and the related app is closed. Secure empty trash works in this case. Why does the sys think such files are still in use?
Of course, first make sure that the file is not actually in use by an application.
Perhaps force quitting the Locum process is more elegant, but my solution has always been to open a terminal window and delete the file directly (i.e. type 'rm ' in the terminal window and drag the file in question to the terminal window, then hit return. However, this may leave the Locum process hanging.. I haven't checked.
For me, this problem occurs with any file I mail as an attachment with Mail.app. It's been this way since 10.6.0 and I've filed a bug with Apple (as have many according to the Apple discussion forums) but it's still an issues. Overall, just kind of annoying but I wish they'd fix it!
One more thing: if you have a LOT of items in your trash that take up a lot of disk space, it's best to use a regular 'empty trash' first and tell it to continue when you get the error about not being able to remove certain items. Then follow up with the secure-empty trash. Otherwise it can take a long time to securely erase all those files.
My solution to Mail attachments that cannot be deleted from the Trash is simply to quit and relaunch the Mail app. Takes 2-3 seconds and works every time.
Will doing this invoke the secure delete bug where the temporary file is left in place and forgotten? (thus taking up disk space forever/manually deleted)
if you know the file that can't be trashed is harmless, just
cd ~/.Trash; rm -rf *
handle with care, though.
What if I made a typo in the directory name? The way you wrote the command, you run a VERY real risk of deleting everything in your home directory. Which, presumably isn't something you want to have to recover from.
Much, MUCH better would be:
$ cd ~/.Trash && rm -rf *
I know you said 'handle with care', but such a simple modification makes it MUCH safer.
Remember friends, when one command depends on the successful completion of another command
&&
is what you want. Not ;
. rm -rf ~/.Trash
There's no point to changing to that directory if you only wish to perform a single action in that directory.
Even better:
rm -rf ~/.Trash; rm -rf /Volumes/*/.Trashes
That is quite useful, thanks.
Something interesting about that: After mailing an attachment, then trashing the document I had attached, I got the expected file in use error. So I tried the lsof grep -i busy command you pointed out and came up with nothing. Very peculiar this mail attachment bug..
If Shift + Option + Command + Delete won't empty everything I Option click the Finder App in the Dock and choose Relaunch.
Slightly off topic, but I feel compelled to point out what I think is bad advice in general. I've been using unix since the late 70's. I'm reasonably savvy with unix, yet I almost never use rm * to delete files. The only time I ever do this is after I double and triple check that I'm in the right directory and I list the files that I'm about to nuke as an alternate check that the destruction I am about to wreak is the destruction I intend. I would never recommend the use of this command to anyone because I can never be sure that they are as careful as I am.
In the case of this example, it's like using a chainsaw to remove a wart. It's simply not necessary. All you have to do is open a terminal window and type rm followed by a space, open your trash and drag the file you want to remove to the terminal window, then hit return. It's easy. It's safe. It's effective. It's actually quicker than doing the cd to your Trash folder in the terminal.
Sorry, climbing down from my soapbox now.
I agree, therm
command should almost never get * in normal usage, it's just too risky, even when we think we know what we're doing. I always add the -i
flag ('interactive') when issuing rm -rfi
so the system asks before deleting every file.
Madness takes its toll.
Please have exact change.
lsof
command and try to close whatever is using the file. Something like lsof grep Trash
. I found that the main reason in my use was the calculation of thumbnails (e.g. Flip4Mac calculating a thumbnail for a large WMV file in the trash).
Not looking at the trash but using the 'Empty Trash' context menu on the Dock prevents most occurrences for me.
hello,
very annoying this, BUT i found a good working solution here:
http://thexlab.com/faqs/trash.html
Force the Trash to empty using the Option key
This technique uses a hidden feature of Mac OS X to force the Trash to empty. Perform the following steps in the order specified:
Press and hold the mouse button on the Trash icon in the Dock. The context menu for Trash will display.
Press and hold the Option key or the Shift-Option keyboard combination,
Select Empty Trash from the context menu for Trash.
Release the keys pressed and held in step 2.
it actually works (mac osx lion)
good luck
Sorry to bump this old thread, but I was trying to take the advice posted here, and entered cd
~/.Trash
rm -r *
as two separate lines..now everything in my documents, downloads, desktop, and some other things are gone. Is there any way to undo this!? I'm freaking out, I have some important stuff that is not backed up (stupid, I know).
There is another minor caveat with the rm-based alternative. If you rm a file while it is in actual use, you will most likely not get the disk space back until that file is released by whatever is holding an open file descriptor to it. The file will disappear from the Trash and directory listings, so if you just like to see an empty Trash icon, then ok. If you actually want the disk space marked as free for other uses, this is usually not enough.
For large files, more comprehensive (though time consuming) solution is to use lsof grep <filename> to check what process is holding the file open, and then killing that process. This way you can use empty trash from the GUI and guarantee yourself the disk space back.
Here's what you need
- Update your iPhone or iPod touch to the latest version of iOS, iPad to the latest version of iPadOS or Mac to the latest version of macOS. On a PC, make sure that you have the latest version of iTunes for Windows.
- Subscribe to Apple Music or iTunes Match.
- Sign in to all of your devices with the same Apple ID that you use with Apple Music or iTunes Match.
- Connect your devices to the Internet over a Wi-Fi or mobile network. On a Mac or PC, you can also connect to the Internet using Ethernet.
Apple Music and iTunes Match availability varies by country or region. Learn what's available in your country or region.
Turn on Sync Library
With the latest version of iOS, iPadOS and macOS, Sync Library is turned on by default. If you turned off Sync Library, you can turn it back on. Just follow the steps below for your device.
Why Does My Mac Say Closing The Library When I Click On Photos
On your iPhone, iPad or iPod touch
- Go to Settings > Music.
- Turn on Sync Library. If you don't subscribe to Apple Music or iTunes Match, you won’t see an option to turn on Sync Library.
If Sync Library is updating or turned off, you'll see a message at the top of the Library tab in the Apple Music app.
On your Mac
- Open the Apple Music app.
- From the menu bar at the top of your screen, choose Music > Preferences.
- Go to the General tab and select Sync Library to turn it on. If you don't subscribe to Apple Music or iTunes Match, you won’t see an option to turn on Sync Library.
- Click OK.
If you have a large music library, it might take some time to upload and sync your music library across all of your devices.
On your PC with iTunes for Windows
In iTunes for Windows, iCloud Music Library isn't turned on by default. To turn on iCloud Music Library:
- Open iTunes.
- From the menu bar at the top of your screen, choose Edit > Preferences.
- Go to the General tab and select iCloud Music Library to turn it on. If you don't subscribe to Apple Music or iTunes Match, you won’t see an option to turn on iCloud Music Library.
- Click OK.
Why Does My Macbook Say Closing The Library
If you have a large music library, it might take some time to upload and sync your music library across all of your devices.
On other devices
If you subscribe to Apple Music, you can also access your music library – without having to turn on Sync Library – on other devices that support the Apple Music app.
If you don't subscribe to Apple Music
- If you only want to sync your existing music library across all of your devices, and not any music from the Apple Music catalogue, you can subscribe to iTunes Match on your computer. iTunes Match lets you access your music library on any Apple device or a PC with iTunes for Windows.
- If you buy music from the iTunes Store, you can redownload your past music purchases on your Apple device or a PC with iTunes for Windows.
- You can also manually sync music from your computer to your iPhone, iPad or iPod touch.
Need help?
- If you sign out of your Apple ID or cancel your Apple Music or iTunes Match subscription, you won’t be able to access and sync your music library on all of your devices.The original song files will remain on the device that they were uploaded from.
- Apple Music isn't a back up service. Make sure to back up your iPhone, iPad, iPod touch, Mac or PC, so that you have a copy of your music and other information in case your device is ever replaced, lost or damaged.
- You can have up to 100,000 songs in your music library. Songs that you buy from the iTunes Store don't count against this limit.
- If a song is greyed out, incorrect music plays, or you can’t access your music library, learn what to do.
Learn more
- Learn how to join Apple Music.
- Learn about the icons that you might see next to songs when you turn on Sync Library.
- If Sync Library is turned on, a song that you delete from one device is deleted everywhere.
- Learn what to do if songs in your music library are greyed out.