<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Carlos Eduardo on Medium]]></title>
        <description><![CDATA[Stories by Carlos Eduardo on Medium]]></description>
        <link>https://medium.com/@carlos_eduleal?source=rss-eedebe3c41a8------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*lZQuj0iQUyn2gnOn.jpg</url>
            <title>Stories by Carlos Eduardo on Medium</title>
            <link>https://medium.com/@carlos_eduleal?source=rss-eedebe3c41a8------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 17 Nov 2026 13:12:46 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@carlos_eduleal/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[How to create a catalog to separate images using Shell Script like a boss]]></title>
            <link>https://medium.com/@carlos_eduleal/how-to-create-a-catalog-to-separate-images-in-shell-script-like-a-boss-57d90a19882d?source=rss-eedebe3c41a8------2</link>
            <guid isPermaLink="false">https://medium.com/p/57d90a19882d</guid>
            <category><![CDATA[shell-script]]></category>
            <category><![CDATA[image-database]]></category>
            <category><![CDATA[testing]]></category>
            <dc:creator><![CDATA[Carlos Eduardo]]></dc:creator>
            <pubDate>Thu, 24 Sep 2015 03:23:14 GMT</pubDate>
            <atom:updated>2015-09-24T03:39:03.863Z</atom:updated>
            <content:encoded><![CDATA[<p>Today I had a little trouble in my job. I needed to separate 100k images according its category. What a stupid job, right? It was so bored until a friend build a solution with me. A shell script that displays each image and its category to be selected. So, I decided to share it with another persons, maybe it can be useful. :P</p><p>for file in `ls -la -r database | grep -v “^d\|^$\|.sh$” | awk ‘{print $9;}’`; do</p><p>echo “Option 1) Animals”<br>echo “Option 2) Persons”<br>echo “Option 3) Cars”<br>echo “Option 4) Flowers”<br>echo “Option 5) Places”<br>echo “Option 6) Objects”<br>echo “Option 7) Food”<br>echo “Option 8) Cutted”<br>echo “”</p><p>echo “$file ?”</p><p>google-chrome database/$file</p><p>case $opc in<br>1) echo “Animals”; mv -v database/$file animals/;;<br>2) echo “Persons”; mv -v database/$file persons/;;<br>3) echo “Cars”; mv -v database/$file cars/;;<br>4) echo “Flowers”; mv -v database/$file flowers/;;<br>5) echo “Places”; mv -v database/$file places/;;<br>6) echo “Objects”; mv -v database/$file objects/;;<br>7) echo “Food”; mv -v database/$file food/;;<br>8) echo “Cutted”; mv -v database/$file cutted/;;<br>*) echo “Others”; mv -v database/$file others/;;</p><p>esac</p><p>done;</p><p>It can be used for another solutions that needs separate any content.</p><p>Bye :)</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=57d90a19882d" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>