Finding ports by install date?

Ryan Schmidt ryandesign at macports.org
Mon May 30 11:41:04 PDT 2016


On May 30, 2016, at 5:20 AM, Carlo Tambuatco wrote:

> Is there a way to search for ports installed on a given date? I want to find ports I installed on a specific date and uninstall them.

Not built in, but you can print the install date with:

port -v installed

and pipe that through grep to find dates you're interested in. For example on my system:

port -v installed | grep 2016-04-12
  pango @1.40.1_0+quartz+universal+x11 platform='darwin 15' archs='i386 x86_64' date='2016-04-12 13:53:55'
  pango-devel @1.40.1_0+quartz+universal+x11 (active) platform='darwin 15' archs='i386 x86_64' date='2016-04-12 13:55:34'
  zlib @1.2.8_1+universal (active) platform='darwin 15' archs='i386 x86_64' date='2016-04-12 13:52:04'


(I'm not certain whether this feature is in MacPorts 2.3.4 or if you need to be running MacPorts trunk to get it.)



More information about the macports-users mailing list