I need to build a script that shows files in the same order as the default Downloads folder in the dock, ordered by Date Added, newest first. I can't seem to find the option in ls.
Any other way to ...

Is there any way to programmatically add a folder to Spotlight's "Privacy" tab?
Either through Terminal or Applescript?
Often I want to click on an item in Spotlight results in Finder, and have that ...

I'm experiencing a rather odd problem, and I can't figure out what's going on. I have a tgz file, scip-3.2.0.tgz, that is throwing an error when I attempt to unpack it. The error is only occurring on ...

I'm trying to install the command line tools to get gcc, make, and other goodies after a Lion upgrade. I went to Preferences → Downloads in Xcode and attempted to install the command line tools. At ...

My MBR crashes quite often. Normally I've multiple terminal windows and usually they're restored after crash.
However from some to time they're not restored, so for that reason I was doing the backup ...

So, recently I have being using the Character and Keyboard Viewer a fair bit and set up simple Alfred keywords that toggle the launch/quitting of these apps so as not to have to leave the keyboard.
...

Is there a difference between the command line tools that come with xcode and the ones installed with xcode-select? If I install xcode and then run xcode-select --install will the ones installed with ...

And they've since disappeared; I'm unable to open them in Sublime Text Editor or edit them in the command line. They're not listed anywhere, even though the initial move was noted successfully.
I've ...

Is there a command I can run from the command line in OS X to get the current CPU temperature and/or the fan speed(s)?
To be more specific, I'd like to be able to get the same info available in the ...

I always used MacPorts to install and maintain my GCC compilers (4.4, 4.5, 4.6, 4.7, ...) and gnuplot. Now I've heard about Fink and Homebrew. I think these two utilities are gaining ground in the Mac ...

So by default .bash_history stores 500 last used commands. I changed that to 5000 by setting HISTFILESIZE=5000 in .bash_profile It seems to work.
Now when I do history it still prints 500 commands, ...

/var/cache is missing, ~/Library/Caches seems to be for full-fledged applications rather than command line tools, tools I've seen in the wild do horrible things (like use the user's home directory). ...

How can i speed up the terminal startup in Lion?
I'm not referring to the startup of the Terminal application, but to the startup terminal windows, like when i open a new tab.
I don't have anything ...

From the command line, I would like to compress some database dumps using the LZMA algorithm. And, OSX adds XZ support (written in October of last year), claims
" It turns out the XZ support in OS X ...

In our jenkins build automation environment we have several OSX nodes, now all updated to Yosemite, where we run ios simulator tests.
The problem is that on any newly introduced node simulator tests ...

I do have just one corrupted photo into my Photos Library.
Is there is any UNIX command line that I can use in terminal in order to scan my Photos Library Folder and find out which file is corrupted?
...

I have issues with my Terminal, after every command I try to run, it returns something like "command not found" or "No such file or directory exists"
I think I caused it when I tried to run MineCraft ...

Using Yosemite, is there a way to display events from my calendar in the command line?
I'm aware of the stock calendars apple supplies for things like holidays and such, /usr/share/calendar/ and the ...

If so, where? If not, where does it downloads it for the time of installation?
I interrupted a package installation (brew install) and then restarted it. Do I have two tar.gz archives now? I thought, ...