Peters Flexible RenAmiNg Kit (PFrank) Forum Index Peters Flexible RenAmiNg Kit (PFrank)
Support and Discussion Site for the PFrank File/Folder Renaming Tool (***NEW HOME PAGE*** "http://pfrank.atwebpages.com")
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Overwriting files when running from the command line

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



Joined: 02 Oct 2008
Posts: 2

PostPosted: Thu Oct 02, 2008 4:44 pm    Post subject: Overwriting files when running from the command line Reply with quote

Hi,

I have just been looking at your fantastic renaming tool and trying to get it to work for my setup, but have run into a problem.

My scenario is that I'm trying to create a batch file that will take a series of images and resize them (using a different tool) and then rename them appropriately (using your tool). Each image gets resized and renamed several times as we use the images in lots of different ways. The images are also sometimes updated so I need the renaming to overwrite files if they already exist (or, if a backup is created, create a backup from the old version rather than the new version).

I have created a configuration which does the renaming I require, and have checked the option 'overwrite destination files during pathbuilder renaming' and unchecked auto resolve name duplication. I have then saved this configuration and am referencing it in my batch file. However, when I run the command from the batch file it does not overwrite the old versions of the files. Is it possible to do this?

Many thanks,

Jemima
Back to top
View user's profile Send private message
admin
Site Admin


Joined: 09 Mar 2007
Posts: 448
Location: Canada

PostPosted: Thu Oct 02, 2008 4:47 pm    Post subject: Reply with quote

Yes - what you are trying to do should work. Sounds like you confirmed that overwrites worked using the GUI; if not then let me know.

Did you specify a log file when you used the command line? If not, would you please do so and send me the file.

Also please send me a copy of the PFrank 'Config' file (the one you specified on the command line) and the PFrank.log file (should be in your application data folder ... if on XP).

Once I have the files, I can investigate the problem.

Thanks,

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



Joined: 02 Oct 2008
Posts: 2

PostPosted: Fri Oct 03, 2008 10:17 am    Post subject: Reply with quote

Thanks for your help. I had not realised that it was necessary to set a separate path for the files to write to if I wanted them to overwrite existing files. That makes sense now and it's all working fine. In case someone else makes the same mistake, the way to do this is to set a new path for the files, as well as a new filename. The tool will then overwrite any identically named files in the other folder as long as the setting to overwrite is selected in the options. This works from command line as well as from the GUI.
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 -> General Support 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