Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Fri 25 Jul 2014, 02:56
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Unsorted
PRename-0.7 - batch file renamer
Moderators: deshlab, Flash, GuestToo, Ian, JohnMurga, Lobster
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 1 of 2 Posts_count   Goto page: 1, 2 Next
Author Message
plinej

Joined: 13 Aug 2006
Posts: 1522

PostPosted: Sat 03 Mar 2007, 23:41    Post_subject:  PRename-0.7 - batch file renamer
Sub_title: 2008-04-26
 

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
prename-0.7.pet
Description 
pet

 Download 
Filename  prename-0.7.pet 
Filesize  3.36 KB 
Downloaded  1319 Time(s) 

Edited_times_total
Back to top
View user's profile Send_private_message 
plinej

Joined: 13 Aug 2006
Posts: 1522

PostPosted: Sat 03 Mar 2007, 23:41    Post_subject:  

here's a pic
prename.jpg
Description 
jpg

 Download 
Filename  prename.jpg 
Filesize  109.77 KB 
Downloaded  1591 Time(s) 
Back to top
View user's profile Send_private_message 
plinej

Joined: 13 Aug 2006
Posts: 1522

PostPosted: Sat 03 Mar 2007, 23:44    Post_subject:  

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.
Back to top
View user's profile Send_private_message 
zigbert


Joined: 29 Mar 2006
Posts: 5647
Location: Valåmoen, Norway

PostPosted: Sun 04 Mar 2007, 03:11    Post_subject:  

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-Cool. The other way around, it seems like other programs i Puppy doesn't like UTF-8, and wants another standard.

Sigmund
Back to top
View user's profile Send_private_message Visit_website 
plinej

Joined: 13 Aug 2006
Posts: 1522

PostPosted: Sun 04 Mar 2007, 10:58    Post_subject:  

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.
Back to top
View user's profile Send_private_message 
plinej

Joined: 13 Aug 2006
Posts: 1522

PostPosted: Mon 05 Mar 2007, 20:11    Post_subject:  

updated to 0.2
Back to top
View user's profile Send_private_message 
plinej

Joined: 13 Aug 2006
Posts: 1522

PostPosted: Tue 10 Apr 2007, 13:50    Post_subject:  

updated to 0.3
Back to top
View user's profile Send_private_message 
plinej

Joined: 13 Aug 2006
Posts: 1522

PostPosted: Thu 10 May 2007, 12:07    Post_subject:  

updated to 0.4
Back to top
View user's profile Send_private_message 
plinej

Joined: 13 Aug 2006
Posts: 1522

PostPosted: Wed 06 Jun 2007, 13:09    Post_subject:  

updated to 0.5
Back to top
View user's profile Send_private_message 
zigbert


Joined: 29 Mar 2006
Posts: 5647
Location: Valåmoen, Norway

PostPosted: Sun 26 Aug 2007, 13:54    Post_subject:  

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
Back to top
View user's profile Send_private_message Visit_website 
plinej

Joined: 13 Aug 2006
Posts: 1522

PostPosted: Mon 27 Aug 2007, 17:42    Post_subject:  

Yeah, I've been meaning to work on that. I'll see if I can't fix it.
Back to top
View user's profile Send_private_message 
plinej

Joined: 13 Aug 2006
Posts: 1522

PostPosted: Mon 27 Aug 2007, 20:09    Post_subject:  

Ok, 0.6 should fix all the spaces issues. Let me know if you find any bugs.
Back to top
View user's profile Send_private_message 
zigbert


Joined: 29 Mar 2006
Posts: 5647
Location: Valåmoen, Norway

PostPosted: Tue 28 Aug 2007, 03:24    Post_subject:  

Seems to be ok now.

Thanks!
Sigmund
Back to top
View user's profile Send_private_message Visit_website 
plinej

Joined: 13 Aug 2006
Posts: 1522

PostPosted: Sat 26 Apr 2008, 21:38    Post_subject:  

updated to 0.7
Back to top
View user's profile Send_private_message 
Argolance


Joined: 06 Jan 2008
Posts: 1803
Location: PORT-BRILLET (Mayenne - France)

PostPosted: Wed 20 May 2009, 08:53    Post_subject:  

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.
Back to top
View user's profile Send_private_message Visit_website 
Display_posts:   Sort by:   
Page 1 of 2 Posts_count   Goto page: 1, 2 Next
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Unsorted
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0611s ][ Queries: 13 (0.0042s) ][ GZIP on ]