alt.binaries.pictures.webewebShow header Prev. Next
Re: Did you ever felt the need to move a collection to the parent folder?
jorj (jorj@hea.ven) 2009/09/13 20:40

On Sun, 13 Sep 2009 10:40:33 +0000, NottyBrother wrote:

> Explaining better:
>
> when you download rars with folders like this:
>
>
> +---Model Name
> |    +---Members
> |     |  +---001
> |     |   \--- Images
> |     |  +---002
> |     |   \--- Images
> |     |  +---003
> |     |   \--- Images
>
> etc...
>
>
>
> And you would like to have
>
> +---Model Name
> |    +---001
> |    +---002
> |    +---003
>
> etc...
>
> where the images are inside the 001, 002 and 003 folders?
>
> Do you know how to do this recursively and automatically? :)

Easy; I just open a command window on the "root" folder and type (for
this example)

#prompt> for S in `seq -w 1 99`;do mv "Members/${S}/Images/*" "Members/
${S}/";done

Then rename "Members" to whatever, drag it where I want it, whatever.

More often than not, however, I would just rename them to something like
ModelNameSetXXX-whateverthefilenamewas and stick them all in one folder.

If you don't use linux, I dunno... maybe just go buy (or "borrow") some
goofy GUI driven batch renaming tool (that's what I did when I used
windows, like, back when Clinton was still prez). They were ok then,
surely by now they've improved considerably.

Follow-ups:123456789
Next Prev. Article List         Favorite