Forum Index  ViceVersa HOME         FAQ and Knowledge Base

 FAQForum FAQ   SearchSearch Forum  RegisterRegister 
 ProfileProfile   Log inLog in 

Move everything under one folder

 
Post new topic   Reply to topic     Forum Index -> Tips, Tricks and More
Author Message
ipo
Guest





PostPosted: Thu Aug 17, 2017 4:53 pm    Post subject: Move everything under one folder Reply with quote

Source: structure with subfolders [users can add or remove folders]
Destination: one flat folder

Is it possible ?

Is there any processing on files possible ? [removing or replacing spaces with something else]

Thank you.
Back to top
TGRMN Software
Site Admin


Joined: 10 Jan 2005
Posts: 8452

PostPosted: Fri Aug 18, 2017 12:36 am    Post subject: Reply with quote

Hi, flat folder is not possible. The issue would be what if files have duplicate name? Changing of file names is not possible, what type of processing would you like? thanks
_________________
--
TGRMN Software Support
http://www.tgrmn.com
http://www.compareandmerge.com
Back to top
ipo
Guest





PostPosted: Fri Aug 18, 2017 12:53 pm    Post subject: Reply with quote

If there are duplicate names, have option to overwrite or use windows copy logic [Copy but keep both files, Filename (2).pdf]

Would like to be able to have, ideally, some kind of RegEx options or just the ability to removes spaces.

Thank you.
Back to top
Guest






PostPosted: Fri Aug 18, 2017 1:26 pm    Post subject: Reply with quote

...OR be able to run a vbscript with every profile run, at the end.
Back to top
jacobacci



Joined: 22 Feb 2015
Posts: 9

PostPosted: Mon Aug 31, 2020 6:17 am    Post subject: Reply with quote

I have used a combination of batch file and VV to sync files in subfolders to one single folder.

Code:
rem to make sure TempDir is empty
rd /s /q "TempDir"
md "TempDir"
cd "Patht_to_SourceTopLevelDir"
for /r %%d in (*.*) do xcopy "%%d" "TempDir" /D /I /E /Y
ViceVersa.exe VV.fsf /autocompare


This ensures that only files removed, changed or new in SourceDirs are updated in TargetDir.
Of course a condition is that no duplicate filenames exist in SourceDirs, else they are overwritten.
Back to top
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> Tips, Tricks and More 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: