OS X Technologies :: Get A List Of All Inode Numbers On A Volume?
Mar 22, 2012
Is there any way to get a list of all inode numbers on a volume? I have a "find -x /Volumes/thedisk/* -exec stat {} ;" going but requires lots of CPU time. Seems like I should be able to look directly at the file allocation table...oh wait, that is DOS. This is on an HFS disk: /dev/disk0s2 on / (hfs, local, journaled)Â
My only problem with this setup is that the line numbers are missing. I can pass in the -c flag, or --line-numbers, it doesn't matter: I never get line numbers. And I tried installing enscript on my linux box too and it also leaves out the line numbers. Does anyone have any ideas, or at least know the last working version of enscript?
Info:MacBook Pro (15-inch Mid 2009), Mac OS X (10.7.3), 3GHz, 8Gb RAM, 40GB SSD + 750GB HDD
HiThe usual tale of an Applescript beginner getting lost but, I want to be able to search for a selected membership number within a Numbers spreadsheet, extract that member’s email address and send a message. I have managed to create a script that creates and sends the email but after several attempts I cannot work out how to start searching cells for a particular value and how to extract data from cells in the selected row.
I'm creating a Service in Automator, and would like incorporate an Apple script that will "cut" the first word in any Numbers cell that I select, and "paste" it into the cell directly to the left of the the cell I've selected. Let's assume the column I'm selecting from is Column C. As a very rough start, here is what I have (with some of things I'm trying to accomplish in brackets): on run {input, parameters} try set MyText to input as string set FirstWord to first word of MyText set [remove the first word and a single space from what I've selected]tell application "Numbers"tell table 1 of sheet 1 of document 1 set theRow to [the row of the cell I've selected] set value of cell 3 of theRow to FirstWord end tellend tell end try return inputend run.
I am wondering if there is a way to take an excel spreadsheet in numbers and change the format to alphabetical - the person did the list by DOB and that is just not helpful to me in finding clients?
I have created a simple apple script (my vary first one) in which I wanted the script, when run, to open a random image from a folder that had images within it. I did it using this code: tell application "Finder" (* get a random image file from a desktop folder *) set randomImage to some file of folder "Pictures" open randomImage end tellÂ
That worked well and good when the folder containing the images was on the desktop. However, the folder I really want to use is on a USB stick. How can I tell the script that the folder I want it to run with is on the USB Stick? I know I could easily copy the folder from the stick to the desktop, but I'd rather keep the folder on the stick.Â
if there is a way of having a list of image file names, searching for the images then putting them into a new folder? I'm guessing it can probably be done through mac scripting but I know nothing about scripting and genreally not great with technogy so ideally need step by step instructions!
It will look also in other volumes I have. What is the right way to search only the current volume? I came up with this:find /Volumes/Lion/ -name foo which will return a result like /Volumes/Lion//foo.Is this the right way to do this with the result containing double slashes?
OS 10.5.8 on MacBook Pro I burnt a DVD this morning - two actually as the first copy had a 'verification' error. When I was finished, I dragged the burn folder (folder icon with the radioactive symbol on it) from the desktop to the trash. Later in the day, I emptied the trash.Same as I do about once a week. Despite emptying the trash and restarting the computer, the folder still shows up in the list of places in the left column of an open finder window.
The folder is not on my desktop and is not in my trash, just in the list of places. When I try to click on the folder in the list, I get a message "The Volume for ..... cannot be found". In the past, dragging the folder from the desktop to the trash, emptying the trash and then restarting has always removed it from the list of places (and I believe similarly when I have software updates via .dmg files). So the questions are: (1) how do I get rid of it now and (2) what could have caused it to happen.
I can change the volume level from the command line using this command, For example: osascript -e 'set Volume 3'. Is there a way to detect the current volume level using a similar command and a way to assign it to a variable? And just for good measure, are there similar commands for detecting and setting the current balance?
Info: iMac, Mac OS X (10.6.7), MySQL 5.1, Perl 5.10, Apache 2.2
I have a folder with mulitple subfolders. Each one has a different number of files in it. I want to use Automator or Applscript to summarize the contents into a text file or email:Â
folder 1 name / number of items folder 2 name / number of items folfder 3 name / number of items etc.Â
I have a 500GB g-drive that I use with my macbook Pro(running Leopard O/S, current version). Because I just about maxed out the hard drive on the mac, most of my Aperture photo libraries reside on the g-drive, in a volume labeled "Aperture Photos." Something very weird happened a couple days ago that really spooked me. The G drive is configured in 4 volumes, and upon ejecting one of the volumes from the Finder window (by dragging it to the Trash which normally doubles as an Eject mechanism) my volume disappeared without the usual prompt that says something like: do you want to eject all So here I am, looking at my Finder screen, and 3 out of 4 of the G drive volumes remain listed in my Devices list, but the one with the photos on it is gone. With fear in my belly, I looked in the trash, and it looks like the contents of the entire volume ended up in there!!! So panic mode set it what do I do?!? How do I restore it? Whats weird is that the missing volume and its icon shows up on the desktop, but not in Finder, making it all but useless.
I want to make a script that adjusts the output volume of my mac based on the volume that the mic hears. I am not very good with applescript, but I do know how to control the volume. I was wondering if there was a command that retrieved the input level from the mic as it is show in the sound preferences in the system preferences window.
I've been ripping my hair out trying to find the answer to this.
In Numbers for Mac, I need to fill a column automatically with a series of integers (1 - 50) and then the next column with a function that interacts with the first column.
For example:
Column A - 1 - 5
Column B - (value in Column A * 5)
I can't figure out how to do it in Numbers When I try to fill column a with 1 - 50 all it does is fill all 1's and I cant find an option how to make that change so it automatically numbers when I highlight them.
The best I can describe is how in Excel you can type 1 in the first cell, then highlight a bunch of cells and the little box appears that lets you click "Fill Series"
See above title. i get that there's the "degree(cell)" function, but there has to be an easier way to change the settings so you can just input in degrees rather than radians.
like how calculators have a degrees and radians mode, i find it so hard to believe that there isn't one in numbers. if there really isn't, this is an incredibly flawed program.
I want to connect a wireless Epson XP 510 printer. Installed drivers from the Epson website but they do not appear to be compatible according to the drop down list in the apple menu for adding a printer.
I was reviewing audio books on my wish list and the list just became empty. I have stopped and restarted iTunes and I have manually re-logged into my apple account but the list keeps coming up empty. I have tried both the shortcut on the top right and from the drop down on the top left but nothing. Is this a temporary issue with Apple..I'm on a Mac running OS10.9.4 and iTunes 11.3.1Â
I have a Mac Pro and not too long ago I swapped from a fat, heavy and filthy white Apple Keyboard to a new skinny silver one. I like it, and also love that the F7-9 Skip Back-Pause/Play-Skip Forward keys work for iTunes, even when another app is active (what's the word I'm looking for - in focus or whatever). But I use Optical output, so the volume keys (F10-12) don't do anything. I know that, when iTunes is the active app, I can command-+/- to change the volume, but I'd love to be able to map the F10-12 keys to do that - without having to have iTunes active (playing, but not the active window).
Recently, my newer (last year) iMac probably running 10.5 started speaking and wont shut up... there is no obvious way to turn it off. I usually figure problems out myself but there are no system preferences that effect it. I even changed the voice in preferences as a test and it is still the same guy reading everything clicked in all applications except when I am in system preferences so far. Usually when I run into a dead end like this there is some mystery key command that works... anyone know?I also noticed that some of the top line (f) keys are not doing what they are supposed to any longer as well... volume up opens the window for expose & spaces it looks like and does not control the volume monitor brightness controls are not working either... I went to the key and mouse preferences and set the key strokes to default and still the same.
I have my imac apart right now and replaced the internal HD as it was not working. I assume the problem is the new one is not formatted with OSX, so from the INSTALL CD I opened the disk utility and see only one drive called "MEDIA".? Or is that just part of the install dvd that looks like a HD? In the system it shows as not formatted, 0 bytes. When selected in Partition it says :
"This voume is the startup volume and cannot be erased. Size 7.1 GB The disk is not writable and cannot be partitioned"
So i guess thats not my new HD I am seeing? Other than that there is only the two OSX install CD icons.
I was wondering if anyone knows how to do this- it is a pita to adjust separate volume controls on everything. If I adjust the volume on the keyboard, the volume slider in itunes doe snot move. If I set the volume on itunes with a mouse, then come home and use the volume controls on my keyboard, I have to also manually adjust the slider in itunes. Anyway to link the two?
I recently decided to increase the volume of my bootcamp disk, which I had done in the past using a method which ultimately made the disk unrecognizable. This time around I used Winclone to create an image of my bootcamp disk. I was not sure exactly how Winclone worked and to be safe I decided to keep the Bootcamp disk I had, and I created a third partition of a larger volume to which I restored the bootcamp image. Everything worked fine obviously, and the image was restored correctly to the new larger volume. The dilemma is I had two bootcamp disks, so I erased the smaller volume because I no longer needed it. Currently I am trying to restore this empty space within the main disk to the Macintosh HD. Disk util looks like:
I know I can just create a backup of the macintosh HD, another image of the bootcamp disk, and format the disk and start over, but I am hoping there is an easier way to go about this; considering there has been a method engineered such that I can just drag that corner of the mac HD and voila I have instantly more storage after applying, it seems viable that there is something that can be done rather than formatting my disk, unless the necessity for that of course was overlooked. Â
Info: MacBook Pro (13-inch Mid 2012), OS X Mavericks (10.9.4)
Before I get flamed and etc... I have google and done some research about this issue but cannot find much about it.
I am not sure if this is a very common issue or topic but how do you adjust or modify your apple keyboard so that you can adjust screen brightness or volume? I am currently running Windows XP SP3, on a 2.4Ghz Unibody Macbook.
I've recently switched from the dark side to Apple and am converting an Excel spreadsheeet. The spreadshet keeps track of subscriptions, things that a re due once a year, etc.. One of the spreasheet's formulas uses 'NOW()'.. The user can specify a day-range, like 15, so that the spreadsheet would highlight due dates within 15 days..  MS handles dates in serial numbers which allows date comparisons ( I'm guessing you already know all of this ) .. anyway, For example, the user enters the renewal or due date in a certain cell and then the next cell would subtract that date's serial number from the current date's serial number using something like 'B3-NOW()'.. The resulting number could be cast to an integer and compared to the '15' .. and if the result is less than that, aka 'due within 15 days', then the cell would be highlighted red.. I gave up on the conditional formatting but I don't know how to use the equivalent of 'NOW()'..
Info: iPhone 3G, Mac OS X (10.7.3), Excel to Numbers
i purchased iwork 08. do i need to repurchase for 09 or is there update. has anyone used numbers 09 and is there a reason to update? can i get numbers without whole iwork?