Friday, September 5, 2014

Quickly Show/Hide Hidden Files on Mac OS X Mavericks

To Show
1 > Open Terminal

2 >  defaults write com.apple.finder AppleShowAllFiles YES
3 >
  Right-click on Finder while holding "Alt/option" key and select "Relaunch" the Finder.


To Hide
1 > Open terminal
2 > defaults write com.apple.finder AppleShowAllFiles NO

Please repeat above step 3> to relaunch the Finder.


Thank you.

I have found this solution here :
http://ianlunn.co.uk/articles/quickly-showhide-hidden-files-mac-os-x-mavericks/

Getting files by creation date in .NET

using System.Linq;

DirectoryInfo info = new DirectoryInfo("");
FileInfo[] files = info.GetFiles().OrderBy(p => p.CreationTime).ToArray();
foreach (FileInfo file in files)
{
    // DO Something...
}
full credit to original post:
http://stackoverflow.com/questions/4765789/getting-files-by-creation-date-in-net