Forum Index  ViceVersa HOME         FAQ and Knowledge Base

 FAQForum FAQ   SearchSearch Forum  RegisterRegister 
 ProfileProfile   Log inLog in 

Script for parsing out all copied files?

 
Post new topic   Reply to topic     Forum Index -> Support
Author Message
Wollrabe



Joined: 26 Aug 2010
Posts: 35

PostPosted: Tue Sep 07, 2010 5:47 pm    Post subject: Script for parsing out all copied files? Reply with quote

Does anyone have a script for parsing out all Copied files? The
VV_COPIED_FILES variable only holds 10 copied files, and even worse it
contains more than just the copied file itself, it contains the Source and Destination paths. I just want a listing of only the files that were copied. Has anyone requeste dthis before? I did a search and it came up with nothing.
Thanks!!
Waldo
Back to top
TGRMN Software
Site Admin


Joined: 10 Jan 2005
Posts: 8763

PostPosted: Wed Sep 08, 2010 12:10 pm    Post subject: Reply with quote

Hello

the only way would be to parse the ViceVersa profile log file itself.

thanks
_________________
--
TGRMN Software Support
http://www.tgrmn.com
http://www.compareandmerge.com
Back to top
Wollrabe



Joined: 26 Aug 2010
Posts: 35

PostPosted: Wed Sep 08, 2010 3:44 pm    Post subject: Thanks, guess another one for the Wish list! Reply with quote

Thanks, guess another one for the Wish list! It would be nice to have a variable that collects only the Target path for each file copied. But more then 10 copied files, ALL files copied. like VV_ALL_COPIED_FILES. Even better would be to just capture the file, and not the entire path. I am feeding a HTML form with a list of all files copied, but the VV_COPIED_FILES variable only holds 10 copied items, and it contains the Source and Target paths, with other text as well.
Back to top
Wollrabe



Joined: 26 Aug 2010
Posts: 35

PostPosted: Tue Sep 28, 2010 11:12 pm    Post subject: Wrote a VBScript that parses the log file Reply with quote

I was able to write a VBScript that parses out the log file. It captures each individual file name that was copied, where it came from, where it was copied to, and in my case where it was versioned to. With no duplicate paths listed. The output is sent to a HTML form. One script fires off the Tortoise SVN Commit screens, once the Commit is done, It fires off the parsing script which fills out the HTML form. Once that is displayed, it prompts you to Delete the files from it's Source location.
Back to top
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> Support All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can 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
Copyright © TGRMN Software. TGRMN Software products: