"Blind" copy of folder

Here you can propose new features, make suggestions etc.

Moderators: Hacker, petermad, Stefan2, white

Post Reply
User avatar
Sektor
Member
Member
Posts: 166
Joined: 2007-04-04, 10:11 UTC
Location: Russia

"Blind" copy of folder

Post by *Sektor »

The idea is the following.
I have same folder name in both panels. Say, I want to copy this folder from left panel to right. So, what I want is the folder in the right panel to be fully deleted before copying the folder in left panel.
The reason is the following. I have one project which I do on two computers. When I'm done on first computer, I copy data to flash drive and copy it to second computer. The problem is that some project's files can be deleted on first computer, but on the second computer this old file will stay because no file from first computer will overwrite it. Thus, lots of orphans can appear. This can be done thru some checkbox.
User avatar
EricB
Senior Member
Senior Member
Posts: 357
Joined: 2008-03-25, 22:21 UTC
Location: The Netherlands

Post by *EricB »

Hi Sektor,

When using the Synchronize Directories feature with Asymmetric checkbox on, all orphan files on the right panel will be marked for deletion. This is what you are aiming for isn't it?

Regards, EricB
Regards, EricB
User avatar
Sektor
Member
Member
Posts: 166
Joined: 2007-04-04, 10:11 UTC
Location: Russia

Post by *Sektor »

No, this is not what I am after.
Say, you have two folders containing some files:
1) Left panel (flash drive): F:\Project\
Files:
file1.txt
file2.txt
file3.txt
2) Right panel (hard drive): C:\Data\Project\
Files:
file1.txt
file2.txt
file3.txt

Say, because of some reason you delete file2.txt from left panel. After that we have extra file file2.txt in right panel which we don't need.
If I copy folder "Project" from left panel to right, then file2.txt will be still there, which is not what I want.
So, what I want is when I press F5 on the "Project" folder in left panel (and ticking some checkbox), TC will detect same folder name in right panel. And if it detects it, it deletes it completely. After deletion the "Project" folder from left panel is copied to the right.
In other words, detect same folder name in opposite panel and delete it before operation (copying or moving).
User avatar
Horst.Epp
Power Member
Power Member
Posts: 7014
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Post by *Horst.Epp »

Sektor wrote:No, this is not what I am after.
Say, you have two folders containing some files:
1) Left panel (flash drive): F:\Project\
Files:
file1.txt
file2.txt
file3.txt
2) Right panel (hard drive): C:\Data\Project\
Files:
file1.txt
file2.txt
file3.txt

Say, because of some reason you delete file2.txt from left panel. After that we have extra file file2.txt in right panel which we don't need.
If I copy folder "Project" from left panel to right, then file2.txt will be still there, which is not what I want.
So, what I want is when I press F5 on the "Project" folder in left panel (and ticking some checkbox), TC will detect same folder name in right panel. And if it detects it, it deletes it completely. After deletion the "Project" folder from left panel is copied to the right.
In other words, detect same folder name in opposite panel and delete it before operation (copying or moving).
You don't understand Synchronize Dir at all !
It does exactly what you want.
User avatar
Balderstrom
Power Member
Power Member
Posts: 2148
Joined: 2005-10-11, 10:10 UTC

Post by *Balderstrom »

Synchronize Dirs can be confusing at times - when trying to figure out which Panel is the Source, and which is the Target.

It would benefit Ghisler's users if he would include an internal SyncDirs command that got rid of requirements to use so many line-command flags to enforce Left/Right Source/Target.

Yet, as EricB and Horst.Epp have stated, Synchronize Dirs with Asymmetric checked/enabled will do exactly as you request, orphaned files are deleted in the target that don't exist in the source.
User avatar
sqa_wizard
Power Member
Power Member
Posts: 3896
Joined: 2003-02-06, 11:41 UTC
Location: Germany

Post by *sqa_wizard »

Synchronize Dirs with Asymmetric checked/enabled
You just have to enable it BEFORE pressing "Compare" button ;)
#5767 Personal license
User avatar
MVV
Power Member
Power Member
Posts: 8711
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

It is also possible to create buttonbar button that will move/rename/delete all target folders according to selection and then open usual copy/move dialog.
Post Reply