Hello, everyone, I know that regex fileexists: works very well but it's limitation is that the exact paths to duplicate files must be defined to compare them. I'm looking for a custom column soltion so that a file's path can be truncated according to a subsection of text in the path. For example,
file1.jpg -- U:\xiaomi mi max (older version) (fedora exclude all files)\voidtools\everything\Internal shared storage\Android\data\cn.wps.moffice_eng\.cache\KingsoftOffice\.history
file2.jpg -- U:\xiaomi mi max (older version)(verify all files)\Internal shared storage\Android\data\cn.wps.moffice_eng\.cache\KingsoftOffice\.history
In both the paths above, the subsection path "Internal shared storage\Android\data\cn.wps.moffice_eng\.cache\KingsoftOffice\.history" is common for both file1.jpg and file2.jpg. What syntax or command can I use to put in a custom column combined with the name, and size and dm: so that I can find variable path duplicates according to a subsection in the path ?
Custumn column code for dupes with common path subsection
Re: Custumn column code for dupes with common path subsection
"\Internal shared storage\Android\data\cn.wps.moffice_eng\.cache\KingsoftOffice\.history\*"
After that, you can right-click a resultlist header column and select "Find xxx duplicates".
Instead of selecting "Find xxx duplicates", you can also right-click that contextmenu entry to get even more options.
Re: Custumn column code for dupes with common path subsection
What if the path contains subfolders, then how can I use it closely as paren-path or parent ?NotNull wrote: ↑Wed May 03, 2023 6:01 pm"\Internal shared storage\Android\data\cn.wps.moffice_eng\.cache\KingsoftOffice\.history\*"
After that, you can right-click a resultlist header column and select "Find xxx duplicates".
Instead of selecting "Find xxx duplicates", you can also right-click that contextmenu entry to get even more options.
Re: Custumn column code for dupes with common path subsection
Remove the * at the end:anmac1789 wrote: ↑Wed May 03, 2023 6:25 pmWhat if the path contains subfolders, then how can I use it closely as paren-path or parent ?NotNull wrote: ↑Wed May 03, 2023 6:01 pm"\Internal shared storage\Android\data\cn.wps.moffice_eng\.cache\KingsoftOffice\.history\*"
After that, you can right-click a resultlist header column and select "Find xxx duplicates".
Instead of selecting "Find xxx duplicates", you can also right-click that contextmenu entry to get even more options.
"\Internal shared storage\Android\data\cn.wps.moffice_eng\.cache\KingsoftOffice\.history\"
(although I'm not entirely sure what you exactly want)
Re: Custumn column code for dupes with common path subsection
NotNull wrote: ↑Wed May 03, 2023 6:48 pmRemove the * at the end:anmac1789 wrote: ↑Wed May 03, 2023 6:25 pmWhat if the path contains subfolders, then how can I use it closely as paren-path or parent ?NotNull wrote: ↑Wed May 03, 2023 6:01 pm"\Internal shared storage\Android\data\cn.wps.moffice_eng\.cache\KingsoftOffice\.history\*"
After that, you can right-click a resultlist header column and select "Find xxx duplicates".
Instead of selecting "Find xxx duplicates", you can also right-click that contextmenu entry to get even more options.
"\Internal shared storage\Android\data\cn.wps.moffice_eng\.cache\KingsoftOffice\.history\"
(although I'm not entirely sure what you exactly want)
The reason is because, there are dissimilar depth folders but that have the same names of subfolders, I did it on purpose this way because it allows me to backtrack to the origin of where the folders came from by using brackets