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>I
Actually I found a helper program called pyRenamer.
I did need the info here to help me figure out how to set up a complicated rename.
Emil
Posted by: Emil Payne <ehspayne@yahoo.com>
Reply via web post | • | Reply to sender | • | Reply to group | • | Start a New Topic | • | Messages in this topic (18) |
No comments:
Post a Comment