Smart Folder that shows the biggest folders?
Hi all,
I want to know which folders on my harddrive are the biggest in size.
Thus, I made a new smart folder with the criteria
Kind = Folders and
Size Greater than 200 MB
The result is empty.
There are, however, folders that contain 200 MB and more on my harddisk which can be proven easily by activating the "Calculate all size" option in the View options (Command-J).
What am I doing wrong?
Thanks,
Stefan.
The problem is that when you select the Size option, what is REALLY being used is a metadata attribute called "kMDItemFSSize"--which seems to refer to File Size, an attribute of files, but not a metadata attribute that is listed for folders. There is no clue that it doesn't apply to folders, but it doesn't. You could probably make an Automator action to do what you want, but WhatSize probably does it better any way.
Francine
Francine
Schwieder
Similar Messages
-
I am using iPhone 5. I have a smart playlist that shows the 25 most play songs within the last 3 months. However, the list on my phone got completely messed up. Please help me.
First thought: Have you used the same Apple ID for all the purchases you're talking about? If not, that could cause an issue.
Assuming you've used the same Apple ID all the way through everything you're talking about, here's the second set of questions:
When you say you can't play the songs from the iPhone playlist, can you see the playlist on the iPhone? Is the song visible in the playlist? Is it visible under "Songs" in iTunes on your iPhone? Is it visible in "Albums" on your iPhone? Is the song in iCloud? -
not the total path to the folder containing the files but rather just a parent folder one level up of the files.
So file.nef that's in folder 1 that's in folder 2 that's in folder 3... I just want to list folder 1, not 2 or 3 (unless they contain files themselves in their level)find $HOME -iname '*.nef' 2>/dev/null | awk -F '/' 'seen[$(NF-1)]++ == 0 { print $(NF-1) }'
This will print just one occurrence of directory
The 'find' command files ALL *.nef files under your home directory (aka Folder)
The 2>/dev/null throws away any error messages from things like "permissions denied" on a protected file or directory
The 'awk' command extracts the parent directory and keeps track of whether it has displayed that directory before
-F '/' tells awk to split fields using the / character
NF is an awk variable that contains the number of fields in the current record
NF-1 specifies the parent directory field, as in the last field is the file name and minus one if the parent directory
$(NF-1) extracts the parent directory
seen[] is a context addressable array variable (I choose the name 'seen'). That means I can use text strings as lookup keys. The array is dynamic, so the first time I reference an element, if it doesn't exist, it is created with a nul value.
seen[$(NF-1)] accesses the array element associated with the parent directory.
seen[$(NF-1)]++ The ++ increments the element stored in the array associated with the parent directory key AFTER the value has been fetched for processing. That is to say the original value is preserved (short term) and the value in the array is incremented by 1 for the next time it is accessed.
the == 0 compares the fetched value (which occurred before it was incremented) against 0. The first time a unique parent directory is used to access the array, a new element will be created and its value will be returned as 0 for the seen[$(NF-1)] == 0 comparison.
On the first usage of a unique parent directory the comparison will be TRUE, so the { print $(NF-1) } action will be performed.
After the first use of a unique parent directory name, the seen[$(NF-1)] access will return a value greater than 0, so the comparison will be FALSE and thus the { print $(NF-1)] } action will NOT be performed.
Thus we get just one unique parent directory name no matter how many *.nef files are found. Of course you get only one unique name, even if there are several same named sub-directories but in different paths
You could put this into an Automator workflow using the "Run Shell Script" actions. -
How to create Smart Folder that limits search to a specific folder or drive
I've been playing with Smart Folders in Leopard 10.5.5. I would like to create a smart folder that limit the search to only a specific folder where I keep all of my work related files. I cannot figure a way how to do this.
Any suggestions?
Thanks.
Bud James1.) Performed Archive and Install. This did not correct the problem.
2.) Performed clean install to new hard drive. This corrected the problem.
3.) Performed a user migration (to the fresh new OS and new HD) using the migration utility and the problem returned.
So it seems pretty clear that there is something related to my user identity that is causing the problem. I called Apple tech support but they were not able to resolve the problem.
Sure, I can just create a new user and spend the next week or so reinstalling a bunch of software...but certainly based on the description of the problem (and the trouble shooting that I have already performed) someone at Apple should be able to pinpoint what files I need to delete or replace to correct this problem. -
How to import photos from a folder that contains hundreds of folders to Photos keeping the same folder structure?
You'll have to do that manually, i.e. export each album of photos to a folder with the same name located on your hard drive via the File ➙ Export ➙ File Export menu option.
OT -
How to create a smart folder that only selects from a specific directory?
I am trying to create a smart folder that lists all my iPhoto original content in the last few months. I want this so that my wife can connect into the smart folder over the LAN when copying specific photos to her PC.
I am have trouble working out how to restrict the search to only those files that exists in the iPhoto directory. When I look at info for a photo is states "Where: /Users/Shared/iPhoto Library/iPhoto Library/Data/2009/....etc etc".
However if I add an filter for "Where from" begins with "/Users/Shared/... etc etc" it returns nothing. Is there a way to do this?Find the iPhoto library file.
Right click -> Show package contents.
Double click the Originals folder.
Type anything in the Search box at the top of the Finder window.
In the top of the Finder window, click "Originals".
Click the + (plus) sign next to Save.
Select Kind is Image.
Click the + (plus) sign again.
Select *Created date* is *within last 3 months* (or whatever you want).
Go to the search box and delete what you typed. Don't hit the X to delete the search text.
Now save the smart search.
This is saved in ~\Library\Saved searches. Copy or move it to the desktop where your wife can get access to it. -
Why I cant view my picture on my iphoto and if I try to copy to any folder it Shows "The item on the clipboard cant be pasted to this location. (One or more of the item may have been deleted or are no longer available) "
There are 9 different versions of iPhoto and they run on 9 different versions of the Operating System. The tricks and tips for dealing with issues vary depending on the version of iPhoto and the version of the OS. So to get help you need to give as much information as you can. Include things like:
- What version of iPhoto.
- What version of the Operating System.
- Details. Describe the problem as fully as you can. For example, if you have a problem with exporting, then explain by describing how you are trying to export, and so on.
- History: Is this going on long? Has anything been installed or deleted? - Are there error messages?
- What steps have you tried already to solve the issue.
- Anything unusual about your set up? Or how you use iPhoto?
Anything else you can think of that might help someone understand the problem you have. -
I need to know how to "compress" the Folder Tree. The File folders are moving to the right and out of sight in Lightroom 5.
A couple of suggestions that may help:
- Make sure you've made the left-hand column as wide as possible by grabbing the divider between the column and the Library grid view.
- You can hide a parent folder from the display by right-clicking it and selecting Hide This Parent. This will shift all the child folders to the left. -
I have a apple ipod touch but recently I restored all the settings, as well as the applications. But now I am not able to add songs to it. There is blank screen that shows the symbol like to connect to itunes first. I'm not able to use that... Please help
The iPod's firmware is corrupt. You'll need to restore it again in iTunes. If necessary, place the iPod in recovery mode for iTunes to recognize the device. Use the instructions in this Apple support document to walk you through the process of placing the iPod Touch into recovery mode.
iOS: Unable to update or restore
B-rock -
How do I reinstate the information bar that shows the prevention of opening a pop-up window?
After Firefox opened the information bar telling me they blocked a pop-up window I inadvertently clicked the option link and deleted the information bar from coming up again.
How do I reinstate the information bar that shows the prevention of opening a pop-up window?
== This happened ==
Just once or twice
== I clicked the option link and selected the "do not show this again" optionI set browser.popups.showPopupBlocker to false, and information bar still appears.
When I also set privacy.popups.showBrowserMessage to false, it doesn't appear.
To test, whether the information bar appears, I use
[http://www.popuptest.com/popuptest3.html]
So, set to true preferences
privacy.popups.showBrowserMessage
and
browser.popups.showPopupBlocker
Both of them!!!
Does it help you? -
i cannot get past the screen that shows the itunes icon and the usb plug, and my computer wont see my phone
Restore the device.
-
Spark datagrid that shows the new value and that it previously was
Im trying to create a item renderer for a spark datagrid that shows the new value and that it previously was and I am comparing in the set data, the problem I am having is that in teh set data I am frequently getting data from other rows (I know this because of virtual renderders), it there a way round this?
<?xml version="1.0" encoding="utf-8"?>
<s:GridItemRenderer xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx"
currentState="unmodified">
<fx:Script>
<![CDATA[
override public function set data(value:Object):void
if(data){
if(super.data.margin != value.margin && super.data.margin){
oldValue.text = '(' + super.data.margin + ')';
}else{
oldValue.text == '';
super.data = value;
stroke.visible = false;
fillRect.visible = false;
if(data){
if(this.data.isModifiedClientSide){
currentState = "modified";
fill.color = 0xddddff;
stroke.visible = true;
fillRect.visible = true;
else{
fill.color = 0xffffff;
stroke.visible = false;
currentState = "unmodified";
fillRect.visible = true;
]]>
</fx:Script>
<s:states>
<s:State name="modified"/>
<s:State name="unmodified"/>
</s:states>
<s:Rect top="0" left="0" right="0" bottom="0" id="fillRect" >
<s:fill><s:SolidColor id="fill" color="0xFFffff" /></s:fill>
</s:Rect>
<s:Rect left="1" top="1" right="0" bottom="0" id="stroke">
<s:stroke >
<s:SolidColorStroke color="0x000099" weight="1" >
</s:SolidColorStroke>
</s:stroke>
</s:Rect>
<s:HGroup horizontalAlign="center" verticalAlign="middle" top="0" left="0" right="0" bottom="0" paddingRight="5">
<s:Label text="{data.margin}" width="50%" textAlign="right">
</s:Label>
<s:Label id="oldValue" color="0xff0000" width="50%" textAlign="right">
</s:Label>
</s:HGroup>
</s:GridItemRenderer>If I recall correctly, you are talking about the default start page. To check if this is correct, type '''about:home''' in the awesome bar. If this is the same as your homepage, it will still be there when you update.
-
I have an iphone 4s and there is a prompt that shows the itunes icon and a connection cable i plugged it in and itunes is saying im not connected to the internet but i am....any help out there???
If you are getting a message that iTunes is not connected to the Internet, try looking at this article: http://support.apple.com/kb/TS1490
-
Revision: 13448
Revision: 13448
Author: [email protected]
Date: 2010-01-12 08:17:12 -0800 (Tue, 12 Jan 2010)
Log Message:
Adding WebPlayerDebugConsole: a tiny AIR application that shows the debugging information generated by WebPlayer instances.
Added Paths:
osmf/trunk/apps/samples/framework/WebPlayerDebugConsole/
osmf/trunk/apps/samples/framework/WebPlayerDebugConsole/.actionScriptProperties
osmf/trunk/apps/samples/framework/WebPlayerDebugConsole/.flexProperties
osmf/trunk/apps/samples/framework/WebPlayerDebugConsole/.project
osmf/trunk/apps/samples/framework/WebPlayerDebugConsole/src/
osmf/trunk/apps/samples/framework/WebPlayerDebugConsole/src/WebPlayerDebugConsole-app.xml
osmf/trunk/apps/samples/framework/WebPlayerDebugConsole/src/WebPlayerDebugConsole.mxml
osmf/trunk/apps/samples/framework/WebPlayerDebugConsole/testCertificate.p12 -
SCCM 2012 Report that shows the users with specific software installed
Hi,
Is there a report in SCCM 2012 that shows the users with specific software installed? The report should show username, machine name and the software name. I am looking for a report that shows the users with the following softwares installed:
1. Adobe(all versions)
2. Photoshop(all versions)
3. MS Project(all versions)
4. MS Vision(all versions)
Regards, Lorin DavisTake a look at the Asset Intelligence reports in the software section. You may get a list of computers with a product installed, and you might have to use that list to find the primary users based on user device affinity.
Maybe you are looking for
-
Issue with Agent Profile from AM 70 OpenSSO interesting issue
Hi All, I have a specific scenario and if it is not possible then ugrade from AM 7.0 to OpenSSO cant be true. I have issue with the agent profiles (BTW I am not doing upgrade from AM 7.0 to OpenSSO but its a fresh OpenSSO install) In AM 7.0 Agent pro
-
Change default toolbar colors, default interface in PSE8
I do not have good vision and am colorblind. The choice between "dark" and "light" user interface in the PSElements8 Preferences is still not high-contrast enough for my vision: I can't see the menu names and the buttons all fade into the background,
-
Error to connect to oracle 10.2.0.4 using oci driver in solaris
Urgent Please help me. This is the error i am getting when connecting to oracle10.2.0.4 version using oracle oci driver. 09/10/05 13:52:47 java.lang.UnsatisfiedLinkError: t2cGetCharSet 09/10/05 13:52:47 at oracle.jdbc.driver.T2CConnection.t2cGetCharS
-
Is it possible to create a java program which can find the answer to any sudoku
This is may sound as a beginner question but thats because i am a beginner. i have just learned the java language and now i am reading essential classes on oracle tutorials. anyway is this possible ? i think it is and i have been trying to do it but
-
Replacing logic board uni macbook pro 17"
I want to upgrade my macbook pro 17 early 2009 by replacing old logic board with logic board of macbook pro 17 mid 2009 (3.06). Is it compatible with newer one?