{"author_name":"RylandAlmanza","cat":"LD #24","comments":[{"author_name":"","time":"August 25, 2012 7:34 pm","epoch":1345941240,"text":"Ouch.. been there man, feel for ya","spam":"N"},{"author_name":"","time":"September 17, 2012 3:05 am","epoch":1347869100,"text":"<img src=\"http:\/\/ludumdare.com\/compo\/wp-includes\/images\/smilies\/frownie.png\" alt=\":(\" class=\"wp-smiley\" style=\"height: 1em; max-height: 1em;\" \/>","spam":"N"}],"epoch":1345939560,"likes":1,"metadata":{"p_key":"52951","p_author":"RylandAlmanza","p_authorkey":"15134","p_urlkey":"88653","p_title":"Forgetting to use -r and not looking at the output","p_cat":"LD #24","p_event":"LD24","p_time":"1345939560","p_likes":"1","p_comments":"2","p_status":"UPD5","us_key":"15134","us_name":"RylandAlmanza","us_username":"rylandalmanza","event_start":"1345766400","event_key":"12","event_name":"LD24"},"text":"<blockquote><p>[ryland@crappy projects]$ cp Pickachick pickachick<br \/>\n cp: omitting directory `Pickachick&#8217;<br \/>\n [ryland@crappy projects]$ rm -r Pickachick<br \/>\n [ryland@crappy projects]$<\/p><\/blockquote>\n <p>FFFFUUUUUUU-<\/p>\n <p>That&#8217;s how I lost 5 hours of work. Luckily I still have an older version of the game, but I&#8217;ve put in a lot of work since that version. I was trying to rename the directory from Pickachick to pickachick. I realize now that I could&#8217;ve just used mv, but I&#8217;ve been programming for a long time, I&#8217;m not thinking straight.<\/p>\n <p>For anyone not familiar with linux commands, cp is a command to copy a file or directory, however, it only copies directories with the -r switch. I forgot the -r, and the directory wasn&#8217;t copied. Then I deleted the folder completely with the rm (remove) command.<\/p>","time":"August 25th, 2012 7:06 pm","title":"Forgetting to use -r and not looking at the output"}