Baham's Blog

Above all else, guard your heart.

I Did a Fool Thing

In octopress/source/_post .I run a command—

rm *.markdown*

I want to run

rm *.markdown~

to delete some old autobacked files.

But I typed wrong word and run it immedittely.

So all my markdown files is deleted.and _postis empty.

You know rm command do not mv files to trash.

So I find in trash to find old “octopress folder”.And I rewrite the newer articles from baham.co by hand.

It waste my time.

And it is a lesson.

And now I add _post to my deja-backup backing floder.

And maybe I need use “mv” to replace “rm”.




The Original Link: http://baham.github.io/10_28_i-did-a-fool-thing.html
If you want to reprint it, please do under the CC BY-NC-SA 4.0

Comments