PRename-0.7 - batch file renamer

Stuff that has yet to be sorted into a category.
Post Reply
Message
Author
plinej
Posts: 1742
Joined: Mon 14 Aug 2006, 02:21

PRename-0.7 - batch file renamer

#1 Post by plinej »

Here's a complete re-write of PBrename that I've renamed to PRename.

0.2 - updated the icons to use the stock gtk icons

0.3 - changed all the writing to /tmp directory to $HOME/.config/tmp basically for multi-user puppies like grafpup since if you run it as root than try to run it as a regular user you will not be able to access the /tmp files written as root. I also added a back button on the second screen incase you're not happy with the displayed changes and you want to try again. A couple of other minor changes.

0.4 - fixed a bug when the selected directory has spaces in the name

0.5 - fixed some more bugs

0.6 - fixed more spaces bugs and a bug when renaming directories

0.7 - fixed some bugs and created an "append to" option
Attachments
prename-0.7.pet
(3.36 KiB) Downloaded 1805 times
Last edited by plinej on Sun 27 Apr 2008, 01:38, edited 12 times in total.

plinej
Posts: 1742
Joined: Mon 14 Aug 2006, 02:21

#2 Post by plinej »

here's a pic
Attachments
prename.jpg
(109.77 KiB) Downloaded 2189 times

plinej
Posts: 1742
Joined: Mon 14 Aug 2006, 02:21

#3 Post by plinej »

When you run the program you'll get the gui in front where you select your directory and options and then click rename and you'll get the gui in the back. That gui will just show you what your new files/directories will look like and if you're happy click the rename button on that gui and the files will be renamed otherwise click Exit and no changes will be made.

User avatar
zigbert
Posts: 6621
Joined: Wed 29 Mar 2006, 18:13
Location: Valåmoen, Norway
Contact:

#4 Post by zigbert »

Thanks for PBrename. It helps me frequently.

A proposal:
Maybe PBrename could be a solution to the often seem UTF-8 problem. If PBrename could rename files from one charset to another, it would help me and others here on the forum. Rox shows me a huge amount of files with errors - (Bad UTF-8). The other way around, it seems like other programs i Puppy doesn't like UTF-8, and wants another standard.

Sigmund

plinej
Posts: 1742
Joined: Mon 14 Aug 2006, 02:21

#5 Post by plinej »

Ok, I know nothing at all about how to incorporate this. If anyone wants to shed some light on that let me know and I'll try and add it.

plinej
Posts: 1742
Joined: Mon 14 Aug 2006, 02:21

#6 Post by plinej »

updated to 0.2

plinej
Posts: 1742
Joined: Mon 14 Aug 2006, 02:21

#7 Post by plinej »

updated to 0.3

plinej
Posts: 1742
Joined: Mon 14 Aug 2006, 02:21

#8 Post by plinej »

updated to 0.4

plinej
Posts: 1742
Joined: Mon 14 Aug 2006, 02:21

#9 Post by plinej »

updated to 0.5

User avatar
zigbert
Posts: 6621
Joined: Wed 29 Mar 2006, 18:13
Location: Valåmoen, Norway
Contact:

#10 Post by zigbert »

I can't get it work when path contains space.

Would it be possible to make it work recursively?

Thanks for a nice program!

Sigmund

plinej
Posts: 1742
Joined: Mon 14 Aug 2006, 02:21

#11 Post by plinej »

Yeah, I've been meaning to work on that. I'll see if I can't fix it.

plinej
Posts: 1742
Joined: Mon 14 Aug 2006, 02:21

#12 Post by plinej »

Ok, 0.6 should fix all the spaces issues. Let me know if you find any bugs.

User avatar
zigbert
Posts: 6621
Joined: Wed 29 Mar 2006, 18:13
Location: Valåmoen, Norway
Contact:

#13 Post by zigbert »

Seems to be ok now.

Thanks!
Sigmund

plinej
Posts: 1742
Joined: Mon 14 Aug 2006, 02:21

#14 Post by plinej »

updated to 0.7

User avatar
Argolance
Posts: 3767
Joined: Sun 06 Jan 2008, 22:57
Location: PORT-BRILLET (Mayenne - France)
Contact:

#15 Post by Argolance »

Bonjour, Thanks a lot for this batch that is really very useful... But I wondered if it could suppress the accents of files names, it should be greater ! Does such a batch or script exist somewhere or not ?
Best regards.

disciple
Posts: 6984
Joined: Sun 21 May 2006, 01:46
Location: Auckland, New Zealand

#16 Post by disciple »

When I try to use the "append" option it puts what I want to append before the current file names, not after. Does it do that for anyone else or is there something really weird on my system?
Do you know a good gtkdialog program? Please post a link here

Classic Puppy quotes

ROOT FOREVER
GTK2 FOREVER

Post Reply