[SOLVED] RePacker action to impact real folders

English support forum

Moderators: Hacker, petermad, Stefan2, white

snop
Junior Member
Junior Member
Posts: 14
Joined: 2025-01-18, 14:31 UTC

[SOLVED] RePacker action to impact real folders

Post by *snop »

Hi all,

I am using DiskDir packer to create an lstW file which indexes all files that are on a network folder.
Allows me to search for files very quickly.
However, I am missing one feature: as I would like to clean up a bit my network folder (look at it as a NAS), I would like to be able to remove a file from the lstW and have it removed on the NAS, kind of like a synchro.
Is there a way to achieve such ? That would allow me to be way faster and efficient.

Thanks for help and ideas/suggestions if not possible via the packer plugin.
Last edited by snop on 2025-04-13, 19:01 UTC, edited 1 time in total.
User avatar
petermad
Power Member
Power Member
Posts: 15997
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: Packer action to impact real folders

Post by *petermad »

I think the "Synchronize Dirs" could be used for that.

With DiskDir Extended 1.67 you can delete files from the .xlst archive and Synchronize it with the NAS - or the other way around.

http://www.totalcmd.net/files/wcx64_DiskDirExtended_1.67.zip
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Fla$her
Power Member
Power Member
Posts: 2981
Joined: 2020-01-18, 04:03 UTC

Re: Packer action to impact real folders

Post by *Fla$her »

2petermad
How do you know he's not using TC x32? DiskDir Extended
One can also change the list by deleting an entry using DiskDirW. wincmd.ini:
[PackerPlugins]
lstW=31,%COMMANDER_PATH%\Plugins\wcx\diskdirW\diskdirW.wcx
lstE=31,%COMMANDER_PATH%\Plugins\wcx\DiskDirExtended\DiskDirExtended.wcx
Overquoting is evil! 👎
User avatar
petermad
Power Member
Power Member
Posts: 15997
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: Packer action to impact real folders

Post by *petermad »

How do you know he's not using TC x32? DiskDir Extended
Only statistics. And since the 32bit version is v. 1.68, I didn't want to cause confusion.

Thanks for pointing out that 31 can be used - I just tried them as they were installed. Wonder why that is not the default setting?
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Fla$her
Power Member
Power Member
Posts: 2981
Joined: 2020-01-18, 04:03 UTC

Re: Packer action to impact real folders

Post by *Fla$her »

Only statistics.
And where can be see the statistics of downloads/usage of TC x32/x64/comb?
Wonder why that is not the default setting?
I remember wondering that myself.
Overquoting is evil! 👎
BenjaminYoung
Junior Member
Junior Member
Posts: 2
Joined: 2025-03-24, 09:55 UTC

Re: Packer action to impact real folders

Post by *BenjaminYoung »

Interesting idea! Syncing deletions would make cleanup super efficient indeed.
.
snop
Junior Member
Junior Member
Posts: 14
Joined: 2025-01-18, 14:31 UTC

Re: Packer action to impact real folders

Post by *snop »

hi ! and thanks for the answers, i didnt get notified so i apologize for my late reply.

so :) some questions here..

1. it is a bit obscure to me what would be the main differences between :
https://totalcmd.net/plugring/diskdir_extended.html 32bit v1.68
https://totalcmd.net/plugring/diskdir_extended.html 64bit v1.67
https://totalcmd.net/plugring/diskdirw.html 32/64bit v1.2.4

I was using DiskDirW 1.2.4, tried to look at DiskDir Extended 1.68 but I have tcmd 64bit so only v1.67 would work (tho I can install 32bit version if 1.68 bring me more powerful features). I believe DiskDirW is good for it's unicode support, but unsure what else and which would best suit my needs.

2. I tried DiskDir Extended 1.67 and DiskDirW, I can indeed delete files from the lst/lstW file, but the synchro won't "detect" the fact that the NAS files needs to be deleted, it will tell me that the NAS files need to be synced back to the lst file. How did you achieve it ? because then it would solve my issue
or do you select all, then unmark, and then click "delete left" in the context menu ?

3. what is this thing you did with "31" ?
It seems that this is a bit more powerful config that I am not aware at all.
what does it correspond to ? (i understand that by changing 21 to 31 I can now delete files, but why ? where can i find such doc)



thanks for the help !
User avatar
beb
Power Member
Power Member
Posts: 579
Joined: 2009-09-20, 08:03 UTC
Location: Odesa, Ukraine

Re: Packer action to impact real folders

Post by *beb »

2snop.
Plugin capabilities number is the sum of the following:
1: Can create new archives.
2: Can modify existing archives.
4: Can handle multiple files in one archive.
8: Can delete files from archive.
16: Supports the options dialog.
32: Supports packing in memory.
64: Detects archive type by content.
128: Allows searching for text in archives.
256: Don't open with Enter, only with Ctrl+PgDn.
512: Supports encryption.
21 = 1+4+16
31 = 1+2+4+8+16
#278521 User License
Total Commander [always the latest version, including betas] x86/x64 on Win10 x64/Android 10/15
snop
Junior Member
Junior Member
Posts: 14
Joined: 2025-01-18, 14:31 UTC

Re: Packer action to impact real folders

Post by *snop »

beb wrote: 2025-04-11, 22:55 UTC 2snop.
Plugin capabilities number is the sum of the following:
....
21 = 1+4+16
31 = 1+2+4+8+16
beautiful !
unsure where is this info coming from but thats amazing the level of fine tuning possible, love it. thank you.

so only thing left is to
1- to understand differences in all version and plugins
2- to understand if this approach is right to delete from NAS the files removed from lst file : select all files highlighted in the synchronize result (files to copy from the left), then unmark them all, and then click "delete left" in the context menu ?
User avatar
beb
Power Member
Power Member
Posts: 579
Joined: 2009-09-20, 08:03 UTC
Location: Odesa, Ukraine

Re: Packer action to impact real folders

Post by *beb »

snop wrote: 2025-04-12, 09:22 UTC unsure where is this info coming from...
It has to be in Help - Operation - Plugins - 1. Packer plugins and/or in Help - Configuration and Switches - Ini file Settings.
But it is not visible there.

Still, it is actually there:
Go:
Help - Configuration and Switches - Ini file Settings
Find:
Part 1: Section [Configuration] A-M
Part 2: Section [Configuration] N-Z
Part 3: All other sections
Hit the link:
Part 3: All other sections
And you will see.

PowerShell command to directly access said help section:

Code: Select all

hh.exe "$env:commander_path\TOTALCMD.CHM::inisettings3.htm"
#278521 User License
Total Commander [always the latest version, including betas] x86/x64 on Win10 x64/Android 10/15
Fla$her
Power Member
Power Member
Posts: 2981
Joined: 2020-01-18, 04:03 UTC

Re: Packer action to impact real folders

Post by *Fla$her »

snop wrote: 2025-04-12, 09:22 UTC so only thing left is to
  1. DiskDirExtended.txt wrote:Changelog:
    1.68
    updated ISO library
    I think only the author knows about the advantages of this fix. It's unlikely that this will change anything for you.
  2. Instead of creating lists, why not use the Virtual Panel plugin, where you can physically delete files via Shift+Del?
Overquoting is evil! 👎
snop
Junior Member
Junior Member
Posts: 14
Joined: 2025-01-18, 14:31 UTC

Re: Packer action to impact real folders

Post by *snop »

Fla$her wrote: 2025-04-12, 15:02 UTC
[*]Instead of creating lists, why not use the Virtual Panel plugin, where you can physically delete files via Shift+Del?[/list]
thank you both for the answer about documentation and plugin differences

about your question Fla$her, i will give it a go.
The thing is that my LST file is over 50mb (as the NAS is 4tb), and while I was able to identify the duplicate files (over 170gb), and mark all the duplicates except one of each, I am struggling to delete them from the LST file (prior to synchronising with the NAS).. it seems it is a bit too much to handle.
So your solution with the Virtual Panel plugin could help me do that.. If i understand it correctly, it serves the exact same purpose as a packer, except that it's not something that I can save as a file, share, export etc, it's in my tcmd session basically, correct ?
Fla$her
Power Member
Power Member
Posts: 2981
Joined: 2020-01-18, 04:03 UTC

Re: Packer action to impact real folders

Post by *Fla$her »

snop wrote: 2025-04-12, 15:35 UTC except that it's not something that I can save as a file, share, export etc, it's in my tcmd session basically, correct ?
No. In the plugin folder, VirtualPanel.lst is created with the entire list, but the columns inside are formed differently. You can do whatever you want with this file.
Overquoting is evil! 👎
snop
Junior Member
Junior Member
Posts: 14
Joined: 2025-01-18, 14:31 UTC

Re: Packer action to impact real folders

Post by *snop »

Fla$her wrote: 2025-04-12, 15:47 UTC
snop wrote: 2025-04-12, 15:35 UTC except that it's not something that I can save as a file, share, export etc, it's in my tcmd session basically, correct ?
No. In the plugin folder, VirtualPanel.lst is created with the entire list, but the columns inside are formed differently. You can do whatever you want with this file.

to be honest, I have zero idea how it works.. very obscure to find info for real starters. it looks very powerful, and amazing, but i have no idea what to do once i've installed it... i see some "<?" command but i dont get it, i see the button bar but i click stuff and nothing happens, then i go down a rabbit hole and it gets more and more complex. The DiskDir lst file are fairly easy to get : get a "zip" file that i can navigate into, and see content of my NAS, which I can get by "simply" packing as LST. Would love to understand VirtualPanel but very complex for beginners i think (unless there is a ELI5 guide somewhere ? couldnt find any in the forum besides the 55pages thread)
Fla$her
Power Member
Power Member
Posts: 2981
Joined: 2020-01-18, 04:03 UTC

Re: Packer action to impact real folders

Post by *Fla$her »

Don't exaggerate. The wfx plugin is simpler because it doesn't require packaging with the selection of the desired extension in the drop-down list.
It's enough to copy files or a structure into it using F5. And then you can work in it as with a regular folder.
Overquoting is evil! 👎
Post Reply