Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
I like testdisk, I'm sure there are better tools but I never needed another tool as it has always worked. You do need to unmount the partition for it to work though.
-
Are you on an ext filesystem? There is a utility for finding all lost nodes. It won't give you filenames, but it WILL have the full file contents if you grep for it. You'll get multiple versions probably, so you'll have to find the newest one.
-
@Root I can't find the name of the utility now but there's one called Testdisk. It only works on EXT4 filesystems though. I haven't tried this one (I remember using another one) but it looks like it does something similar.
-
@Root has anyone maybe added hooks for git clean...
A coworker of mine got tarred and feathered for pulling that stunt.
My .pryrc and a Ruby script it loaded (in another directory) both disappeared seemingly without cause. I lost days of work including a bunch of debugging and performance utilities I wrote over the past year.
But I have no clue how this happened. Neither the .pryrc file nor the script’s folder are tracked by git, so it wouldn’t have been deleted, overwritten, stashed and dropped, etc. None of the other dot files are missing, and the folder is still present, albeit with one fewer files. I wouldn’t delete them, and commands that would delete them do not appear in my zsh history. So I’m at a loss. Figuratively and literally.
They’re just. Gone.
Is there any way to recover missing files on OSX?
I never thought I’d need a backup solution for local scripts.
rant
disappearing files
backup all the things
loss.rb