Download your favorite Linux distribution at LQ ISO.
Go Back > Blogs > SilversleevesX
User Name


Rate this Entry

Ambitious? Definitely.

Posted 07-24-2010 at 11:27 PM by SilversleevesX
Updated 07-25-2010 at 09:12 AM by SilversleevesX

I'm working towards automating my stum annotation via the command line. So far, I've alias'ed the Exiv2 command for reading in "command files" from text and writing the spare information that prudence allows into newly-downloaded JPEG files. Next, what I'm looking to do is streamline the process of adding source-site credit to the files using the same tool.

It's not really as if I were starting from point zero on this: I've been using a kind of code to mark files and orient them in my mind with certain sites, usually via the "lazy Yank method," as I call it, of abbreviating the name of the site. Whether it's the content provider's genuine pay-site server URL in the abbreviation really doesn't matter. I know there are two that go by different names than are read into my abbreviations, but after the first hundred files, I reckoned it would take too much effort -- and this using GUI apps -- to make the appropriate changes.

So today I used three apps to generate a list of the providers, and now it remains to come up with a simple, steady, reliable method of matching site-name (as abbreviated) with file name (on the JPEGs themselves). I've been doing this "by hand" using EXIV2 in BASH for almost a year now: I've thought of automating by way of command files before this, but what hung me up was the persistent thought that the site source for the greatest number of files has garnered four different abbreviations. That just seemed like too much work.

Recently I had a particularly lucky spate of downloading: over fifty pics a day in a quarter of as many hours, each day for three days in a row. Marking those up in BASH, I started to wonder exactly how much more work it really would be to puzzle out patterns in the file-names that could be logically matched with the provider site names, then come up with lists, command files and scripts to take some of the niggling shite-work off my own hands.

So that's the path I'm pursuing now -- finding patterns. I've compromised with myself by intending, only in this first real stage of streamlining, to make up files that will match those pics with the providers that are the "Fort Knoxes" of pron, as proven by the numbers of pics from each being significantly (in some cases geometrically) higher than all the rest.

Wish me luck.

Views 466 Comments 0
« Prev     Main     Next »
Total Comments 0




All times are GMT -5. The time now is 01:37 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration