Ooooooh, there was that time where I mv x y by doing mv y x. That obviously did not work, and I ended up wiping an sqlite database like a pro.
mv x y
mv y x
Conclusion: backups are your friend. If you're doing destructive actions, do mv x x-bak before doing mv x y.
mv x x-bak
When your volume is small and your sqlite is big, however..... a story for another day.
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Ooooooh, there was that time where I
mv x y
by doingmv y x
. That obviously did not work, and I ended up wiping an sqlite database like a pro.Conclusion: backups are your friend. If you're doing destructive actions, do
mv x x-bak
before doingmv x y
.When your volume is small and your sqlite is big, however..... a story for another day.