SEARCH

Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#1 2010-04-13 11:00:24

aeiah
Member
Registered: 2009-02-23
Posts: 13

tiny batch renaming app for those that know python

I've just written about this on my blog, so go there for more details i guess. I thought crunchbang users might like it.

It's designed to be used from the right-click menu in thunar or nautilus, and gives you a python for loop that iterates over the files you passed to the script. I find it a lot quicker than gui renaming, or bash, or regex. You just use python string methods on the available variables (filename, basename, extention etc).

1.png 2.png

Here's the script

Let me know what you think big_smile

Last edited by aeiah (2010-04-13 11:06:44)

Offline

Be excellent to each other!

#2 2010-04-28 11:15:41

RJB
Member
From: in /home
Registered: 2010-04-19
Posts: 11

Re: tiny batch renaming app for those that know python

Nice one, I'm fond of python for all the things it can do, and you give me yet another reason for it! smile

Good job big_smile big_smile


Thanks for everything Linux has taught, is teaching, and will teach me...

Offline

Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.

Debian Logo