Script for creating a diskdir compatible *.lst file

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
marlar
Junior Member
Junior Member
Posts: 40
Joined: 2010-03-08, 11:18 UTC

Script for creating a diskdir compatible *.lst file

Post by *marlar »

I need a script that I can execute on a remote server to generate a *.lst file I can open with TC and use as a basis of directory sync.

It should not be too difficult to make, but I would like to ask if something like is already done?

I have looked at the list file and it seems to be pretty simple with file properties separated by tabs, one file on each line.

As far as I can see, the plugin first lists all regular files in a directory, then in turn traverses into the subdirectories.

It that right or is the algorithm different? :?:
User avatar
JJM
Member
Member
Posts: 105
Joined: 2003-02-06, 12:36 UTC
Location: Port Saint Hubert, FRANCE

Post by *JJM »

Hello,

Yes there is, among other, CatalogMaker here :

http://www.totalcmd.net/plugring/catalogmaker.html

Cordially

JJM
User avatar
Peter
Power Member
Power Member
Posts: 2068
Joined: 2003-11-13, 13:40 UTC
Location: Schweiz

Post by *Peter »

Here is a stand-alone tool out of TC:

http://www.totalcmd.net/plugring/filelistviewer.html

Peter
TC 10.xx / #266191
Win 10 x64
marlar
Junior Member
Junior Member
Posts: 40
Joined: 2010-03-08, 11:18 UTC

Post by *marlar »

Thanks for the suggestions, but you are misunderstanding my need.

I am looking for a way to create the file list without TC, not to read it.

The idea is this:

I want to mirror my local folder to a remote folder on a remote machine. Only a few files are changed, but which? I could synchronize over ftp, but the folder contains very many files and subfolders so it takes way to much time just for TC to tell which files need to be synced.

So if I could create a file list on the remote server using say php og python, I could download the file list and do a sync against the file list.

The I would know exactly which files to transfer.

I hope it is clear now.
User avatar
Horst.Epp
Power Member
Power Member
Posts: 7025
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Post by *Horst.Epp »

There is a command line version of Diskdir Extended
http://en.totalcmd.pl/download/wcx/cat/DiskDirExtCmd
No TC needed to run it.
Last edited by Horst.Epp on 2013-02-04, 18:30 UTC, edited 1 time in total.
User avatar
Peter
Power Member
Power Member
Posts: 2068
Joined: 2003-11-13, 13:40 UTC
Location: Schweiz

Post by *Peter »

marlar wrote:...I am looking for a way to create the file list without TC, not to read it....
As said above:
Peter wrote:Here is a stand-alone tool out of TC:

http://www.totalcmd.net/plugring/filelistviewer.html

Peter
It can work with lists, made with "DIR" command.

Peter
TC 10.xx / #266191
Win 10 x64
marlar
Junior Member
Junior Member
Posts: 40
Joined: 2010-03-08, 11:18 UTC

Post by *marlar »

Peter wrote: It can work with lists, made with "DIR" command.
Peter
Ok, but can it convert the output from the dir command to a TC file list I can use to synchronize the folders?

I need to be able to synchronize the local and remote folder.
User avatar
Peter
Power Member
Power Member
Posts: 2068
Joined: 2003-11-13, 13:40 UTC
Location: Schweiz

Post by *Peter »

marlar wrote:....Ok, but can it convert the output from the dir command to a TC file list I can use to synchronize the folders?....
Yes. You should download and test it. Here is the forum-thread:
http://ghisler.ch/board/viewtopic.php?t=20300

Peter
TC 10.xx / #266191
Win 10 x64
Post Reply