lundi 9 mars 2015

Remove all items in mdfind


How would I remove all of the items returned by mdfind? For example, I want to remove all files relating to "MacLaunchpad", so I did



mdfind "MacLaunchpad"


Which returned



/private/var/db/receipts/o.t.maclaunchpad.postflight.pkg.plist
/private/var/db/receipts/o.t.maclaunchpad.maclaunchpad.pkg.plist
/private/var/db/receipts/o.t.maclaunchpad.postflight.pkg.bom
/private/var/db/receipts/o.t.maclaunchpad.launchpad.pkg.plist
/private/var/db/receipts/o.t.maclaunchpad.launchpad.pkg.bom
/private/var/db/receipts/o.t.maclaunchpad.maclaunchpad.pkg.bom
/Volumes/Macintosh HDT/var/db/receipts/o.t.maclaunchpad.postflight.pkg.plist
/Volumes/Macintosh HDT/var/db/receipts/o.t.maclaunchpad.postflight.pkg.bom
/Volumes/Macintosh HDT/var/db/receipts/o.t.maclaunchpad.maclaunchpad.pkg.plist
/Volumes/Macintosh HDT/var/db/receipts/o.t.maclaunchpad.maclaunchpad.pkg.bom
/Volumes/Macintosh HDT/var/db/receipts/o.t.maclaunchpad.launchpad.pkg.plist
/Volumes/Macintosh HDT/var/db/receipts/o.t.maclaunchpad.launchpad.pkg.bom


I wish to remove all of these files; how would I go about doing that?





Aucun commentaire:

Enregistrer un commentaire