T
13

Accidentally deleted my entire project folder 3 days before the deadline because I confused 'rm' with 'mv' in the terminal

Was trying to rename a file called 'project-final-v2' and typed 'rm -rf project-final-v2' instead of 'mv project-final-v2 project-final-v3', and now I'm rebuilding everything from memory while my professor thinks I'm just being lazy.
3 comments

Log in to join the discussion

Log In
3 Comments
jade618
jade61827d ago
Did you at least have it backed up anywhere or are we learning the hard way?
5
diana_bell74
Did your friend check if they had a local backup or version control set up? I saw someone on Reddit lose a whole thesis that way and they had to redo two weeks of work in three days. They ended up pulling an all-nighter and barely made it, but swore never to skip git commits again.
1
eric359
eric35927d ago
Three years ago I lost about 40 pages of a manuscript because I thought Google Drive was automatically saving my changes but it was actually just glitching out and not syncing for like two hours. I didn't find out until I closed the tab and opened it back up to find everything I'd typed that afternoon just gone. Now I have a weird system where I copy the whole document into a new email draft every couple hours whenever I'm working on something important. It's not fancy but it works for me because gmail drafts save themselves even when my internet drops out.
-1