Hi All,
I have 301 files in the source folder and 300 files in the target folder. So, my target folder dropped a file in the copy process. I am using version 20 and tried using the Sync Select tool to help me identify the single missing file that did not make it to my target folder. The problem is I was not able to make it work using the "Select Uniques and Different" option.
In short, I need help identifying which of the seven sync options listed below is the correct one to use if the goal is only to find the single file in the source folder that did not get copied over to the target folder based on only using a text to text comparison used in the filename?
Select Matches
Select Uniques
Select Newer
Select Different
Select Uniques and Different
Select Selected
I tried the various options listed above but could not find the right one to use. Which option is the correct one to use to perform a text to text filename comparison to identify the extra file located in the source folder which did not get copied to the target folder? Thank you for your time.
Correct Sync Option to Use?
-
highend
- Posts: 15016
- Joined: 06 Feb 2011 00:33
- Location: Win Server 2022 @100%
Re: Correct Sync Option to Use?
I'm assuming that you are displaying both of these folders in a dual pane view?
If yes, let the source pane be the active one and then use "Select Matches"
Afterwards use this little script:
It will invert the selection and put all now selected files at the top...
If yes, let the source pane be the active one and then use "Select Matches"
Afterwards use this little script:
Code: Select all
sel "i";
sortbylist <get SelectedItemsNames <crlf>>;
One of my scripts helped you out? Please donate via Paypal
-
binar
- Posts: 21
- Joined: 11 Aug 2013 05:32
Re: Correct Sync Option to Use?
Highend,
Thank you for your post and script. You are correct. I am using a dual pane setup. One is opened to the Source Folder and the other one to the Target folder. I have not tested out your script yet because I hope you can first clarify the following. Isn't it possible for XYplorer to just compare the lists in both panes and then show me using RED highlight applied to the single filename inside the Source folder that did not get copied over to the Target folder? In short, I am confused why you mention using a script to invert the selection. It just makes me ask myself why is such complexity necessary? Doesn't XYplorer include an inbuilt feature that will just RED highlight the single row in the Source pane that didn't get copied to the Target folder? I just want to keep it as simple as possible using the included features already part of XYplorer.
Thank you for your post and script. You are correct. I am using a dual pane setup. One is opened to the Source Folder and the other one to the Target folder. I have not tested out your script yet because I hope you can first clarify the following. Isn't it possible for XYplorer to just compare the lists in both panes and then show me using RED highlight applied to the single filename inside the Source folder that did not get copied over to the Target folder? In short, I am confused why you mention using a script to invert the selection. It just makes me ask myself why is such complexity necessary? Doesn't XYplorer include an inbuilt feature that will just RED highlight the single row in the Source pane that didn't get copied to the Target folder? I just want to keep it as simple as possible using the included features already part of XYplorer.
-
highend
- Posts: 15016
- Joined: 06 Feb 2011 00:33
- Location: Win Server 2022 @100%
Re: Correct Sync Option to Use?
I'm not aware of any inbuilt mechanism that does this.
Your "special" case could be done in a simple script as a whole as well.
In that case it would be a simple button press (if put on a user defined button)...
This would highlight all items in RED in the active pane that do NOT exist in the inactive pane:
Your "special" case could be done in a simple script as a whole as well.
In that case it would be a simple button press (if put on a user defined button)...
This would highlight all items in RED in the active pane that do NOT exist in the inactive pane:
Code: Select all
// Highlight item(s) in the active pane that are missing in the inactive one
$color = "FFFFFF,FF0000"; // White font, red background
end (get("#800") != 1), "Dual pane not active, aborted!";
$active = listpane(, , 4, <crlf>);
$inActive = listpane("i", , 4, <crlf>);
$result = formatlist($active, "F", <crlf>, "!$inActive");
if ($result) {
$filter = formatlist($result, "q", <crlf>);
$filter = regexreplace($filter, "^(.)", "name:$1");
$filter = regexreplace($filter, "([""])$", "$1>$color");
colorfilter($filter, <crlf>);
}
One of my scripts helped you out? Please donate via Paypal
XYplorer Beta Club