Peters Flexible RenAmiNg Kit (PFrank) Forum Index Peters Flexible RenAmiNg Kit (PFrank)
Support and Discussion Site for the PFrank File/Folder Renaming Tool (http://www3.telus.net/pfrank)
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Scripting to Save to Different Folders

 
Post new topic   Reply to topic    Peters Flexible RenAmiNg Kit (PFrank) Forum Index -> Plugins
View previous topic :: View next topic  
Author Message
kc27



Joined: 23 May 2007
Posts: 9

PostPosted: Fri Jun 24, 2011 2:03 pm    Post subject: Scripting to Save to Different Folders Reply with quote

I have a folder that has files at the root level and three sub folders inside. I would like to rename all the files inside the folder and subfolder, and save them to different locations. For example.

version folder > save to version folder on server
log folder (subfolder of version) > save to log folder (subfolder of version) on server
pdf folder (subfolder of version) > save to pdf folder (subfolder of version) on server
thumbnail folder (subfolder of version) > save to thumbnail folder (subfolder of version) on server

All fo the file names in the version folder and the subfolders start with the same 5 numbers. It's those 5 numbers that I change with PFrank. Once they are changed I manually copy the renamed files to the respective folders on the server. Then I repeat the process, changing the 5 numbers in the originating files again to another set of 5 numbers, then copy those files to the server.

I'd like to eliminate the manual copying of the files after they are renamed. I don't have experience with python, but would give it a try if I at least know it is possible to create an action that gets PFrank to rename the files and save them to the server in the four folders.

Thanks in advance for any ideas on this.
Back to top
View user's profile Send private message
admin
Site Admin


Joined: 09 Mar 2007
Posts: 446
Location: Canada

PostPosted: Sat Jun 25, 2011 1:04 am    Post subject: Reply with quote

Yes, renaming the files, and moving them to other folders is possible with a plugin. the destination folders could be fixed locations or could be determined based on the original folder path/name.

Peter.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
kc27



Joined: 23 May 2007
Posts: 9

PostPosted: Sat Jun 25, 2011 1:23 am    Post subject: Reply with quote

Thanks, I'll give it a try and see if I can pull it off. The destination folders are fixed locations. Maybe that will simplify things.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Peters Flexible RenAmiNg Kit (PFrank) Forum Index -> Plugins All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © phpBB Group. Hosted by phpBB.BizHat.com


Start Your Own Video Sharing Site

Free Web Hosting | Free Forum Hosting | FlashWebHost.com | Image Hosting | Photo Gallery | FreeMarriage.com

Powered by PhpBBweb.com, setup your forum now!
For Support, visit Forums.BizHat.com