Tag Archives: recovery

Recover file extensions for multiple files (Linux)

When recovering files I sometimes face the problem of lost file names and file extensions (most recent case here). To help me dealing with this I problem I need a way to automatically add the file extension, which facilitates the process of reorganising the recovered files. I based my idea on Drav Sloans SO answer […]

Git Undo Reset Hard: Recover Staged Files Which Got Deleted By Git Reset –Hard (Linux)

Did you ever delete hours of progress by carelessly using git reset –hard? I did, so I spent the next hours searching for a way to restore my hard work which I will share with you here. This solution only works for files which got staged before the reset (e.g. by git add *) and […]