Ok this was not hard to do and was really helpful. Now I've to ask you how I filter just the Folders and not the files. There are millions of files, in a 2TB HD.
Please tell me how to find the folders that I created during the last 2 months
PS: I need to learn how this thing called terminal works
Yep, Terminal, the Unix shell, is very powerful.
You can get a manual for any Unix command using 'man' (type a space for next page, 'q' to quit):
man find
'find' has tons of switches that it calls Primaries. The two useful here are '-type d' to filter to files of type Directory (Unix for folder), and '-newerBt' which is variation of '-newerct' except it goes by creation time. We now have:
find . -type d -newerBt '2 months ago' -ls
Note that applications are actually directories, as are other packages. We can also filter them out with:
find . -name '*.app' -prune -o -type d -newerBt '2 months ago' -ls
You'll likely get a number of "Permission denied" lines in system-owned directories. You can get permission by prepending a 'sudo ' to a command and entering your password. First time you do this it will give you the J. Hector Fezandie lecture.