Author |
Message |
ipo Guest
|
Posted: Thu Aug 17, 2017 4:53 pm Post subject: Move everything under one folder |
|
|
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: 8586
|
Posted: Fri Aug 18, 2017 12:36 am Post subject: |
|
|
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
|
Posted: Fri Aug 18, 2017 12:53 pm Post subject: |
|
|
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
|
Posted: Fri Aug 18, 2017 1:26 pm Post subject: |
|
|
...OR be able to run a vbscript with every profile run, at the end. |
|
Back to top |
|
 |
jacobacci
Joined: 22 Feb 2015 Posts: 21
|
Posted: Mon Aug 31, 2020 6:17 am Post subject: |
|
|
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 |
|
 |
|
|
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
|