News for hackers. Stuff that matters.
Re:GitLab Database Incident – Live Report by gizmo on Tuesday January 31, 2017 @08:43PM (#13537408)
Good advice.

I would add a step where you dump the output of find (after filtering) into a textfile, so you have a record of exactly what you deleted. Especially when deleting files recursively based on a regular expression that extra step is very worthwhile.

It's also a good practice to rename instead of delete whenever possible. Rename first, and the next day when you're fresh walk through the list of files you've renamed and only then nuke them for good.

There are no comments on this comment yet.