On 21Jan2015 18:33, Emil Payne <ehspayne@yahoo.com> wrote:
>On 19/01/15 12:17 AM, Emil Payne ehspayne@yahoo.com [LINUX_Newbies] wrote:
>>I need (want) a script.
>>I screwed up renaming the sub-folders in my Pictures folder.
>[...]
>Got it.
>I took the original
>
>_12_«{_04_}«{_04_«{_2009_}}«{_04_«{_2009_}«{_2009_«{_PHOTOS_}}}«{_04_«{_2009_}«{_2009_«{_PHOTOS_}}«{_2009_«{_PHOTOS_}«{_PHOTOS_«{_Pictures_}}}}
>
>and replaced every phrase with a variable
>
>_[X1]_«{_[X2]_}«{_[X3]_«{_[X4]_}}«{_[X5]_«{_[X6]_}«{_[X7]_«{_[X8]_}}}«{_[X9]_«{_[X10]_}«{_[X11]_«{_[X12]_}}«{_[X13]_«{_[X14]_}«{_[X15]_«{_[X16]_}}}}
>
>then put it back together
>
>[X4]«[X2]«[X1]«[X8]«[X16]
>
>thus getting
>
>2009«04«12«PHOTOS«Pictures
Cool. Care to post your code?
Cheers,
Cameron Simpson <cs@zip.com.au>
What I want is Facts. Teach these boys and girls nothing but Facts. Facts
alone are wanted in life. Plant nothing else, and root out everything else.
- Charles Dickens John Huffam 1812-1870 Hard Times [1854]
Posted by: Cameron Simpson <cs@zip.com.au>
Reply via web post | • | Reply to sender | • | Reply to group | • | Start a New Topic | • | Messages in this topic (17) |
No comments:
Post a Comment