ill

3 stories and discussions about ill, aggregated from every source we track.

1.

<p>I don't know why it took me so long to create this, but from here on out, it's going on all my machines and I'll use it a few times per week at work.</p> <pre><code>alias spaces2underscores='for i in *; do mv -iv "$i" "${i// /_}"; done' </code></pre> <p>Usage:</p> <pre><code>hobbes@metalbaby:~/projects/apache/20180119-brianna$ spaces2underscores renamed 'LHD Map Jan 2018.pdf' -&gt; 'LHD_Map_Jan_2018.pdf' renamed 'Contacts List.xls' -&gt; 'Contacts_List.xls' </code></pre> <p>Previously, I would do <code>emacs .</code> followed by <code>C-x C-q M-x replace-string SPC _ RET C-c C-c C-x C-c</code>, which accomplishes the same goal, and felt amazing when I did it to hundreds of files at a time. Of course, I'll still use this method if the replacement is more complex than <code>SPC -&gt; _</code>...</p>

34 points•sebboh•almost 9 years ago•23 comments
2.

In the first part of the longest series yet, I'll outline what's coming, and we'll lay a cornerstone for the project.

2 points•AlexeyBrin•about 2 months ago•0 comments•
3.

This is the second consecutive time I used MV and avoided becoming ill, despite everyone else in my house being sick with a respiratory pathogen.

1 points•delton137•about 2 months ago•1 comment•

Related topics