How to aggregate all descript.ion file contents?
Moderators: white, Hacker, petermad, Stefan2
-
- Junior Member
- Posts: 41
- Joined: 2003-06-11, 14:50 UTC
How to aggregate all descript.ion file contents?
I would like to use the comments feature of TC to add keywords for my files and directories. I shall then use the keywords to search for particular files.
However, I would like to have a way to list all the keywords that I have entered in the comments field, which end up in the respective descript.ion files.
Is there a way to do this, or will I have to keep those keywords in a separate text file for reference?
However, I would like to have a way to list all the keywords that I have entered in the comments field, which end up in the respective descript.ion files.
Is there a way to do this, or will I have to keep those keywords in a separate text file for reference?
- Vochomurka
- Power Member
- Posts: 814
- Joined: 2005-09-14, 22:19 UTC
- Location: Russia
- Contact:
1. Find all "descript.ion" files in desired path and below. They must be numerous in diffrerent directories;
2. Press "Feed to listbox";
3. Press * to select them all;
4. Run Multirename tool (Ctrl+M) and set, e.g., "a" as name, "[C]" as extension. You get a.1, a.2, etc files.
5. Put cursor on a.1 and choose Files\Combine Files;
6. After clicking OK twice you get "a" (no ext) file containing all input files' contents.
Please make backup copies of your descript.ion's before experimenting! (For example, TreeCopy would help).
2. Press "Feed to listbox";
3. Press * to select them all;
4. Run Multirename tool (Ctrl+M) and set, e.g., "a" as name, "[C]" as extension. You get a.1, a.2, etc files.
5. Put cursor on a.1 and choose Files\Combine Files;
6. After clicking OK twice you get "a" (no ext) file containing all input files' contents.
Please make backup copies of your descript.ion's before experimenting! (For example, TreeCopy would help).
Single user license #329241
PowerPro scripts for Total Commander
PowerPro scripts for Total Commander
4. Copy all to one single folder (e.g. d:\test). Select the option to automatic rename the copied files.Vochomurka wrote:1. Find all "descript.ion" files in desired path and below. They must be numerous in diffrerent directories;
2. Press "Feed to listbox";
3. Press * to select them all;
....
5. Use the command line or the DOS-window and type
"type *.ion > all_desc.txt"
Yepp.Vochomurka wrote:....Please make backup copies of your descript.ion's before experimenting! (For example, TreeCopy would help).
Peter
TC 10.xx / #266191
Win 10 x64
Win 10 x64
-
- Junior Member
- Posts: 41
- Joined: 2003-06-11, 14:50 UTC
-
- Junior Member
- Posts: 41
- Joined: 2003-06-11, 14:50 UTC
- Vochomurka
- Power Member
- Posts: 814
- Joined: 2005-09-14, 22:19 UTC
- Location: Russia
- Contact:
If you will make it frequently, you should use the combain utility for this purpose.
Single user license #329241
PowerPro scripts for Total Commander
PowerPro scripts for Total Commander
Problem is that descript.ion file doesn't contain full path to files, just names. If you combine all descript.ion files, you'll lost path infos. So, specifying full path to descript.ion before its contents in combined file is much needed. Another problem is that files may be changed or added new ones. So, you need refresh script or program that will scan your drives for descript.ion files and print its full path and contents into combined file.
BTW, simple CMD-file may be used for creating listing of all descript.ion files taken from filelist (filelist may be saved from search result for descript.ion files in TC using cm_SelectAll and cm_SaveSelectionToFile):
(you may set source to %1 and destination to %2 if you want to pass filelist and destination filename as params)
BTW, simple CMD-file may be used for creating listing of all descript.ion files taken from filelist (filelist may be saved from search result for descript.ion files in TC using cm_SelectAll and cm_SaveSelectionToFile):
Code: Select all
@echo off
set source=descriptions.lst
set destination=descriptions.txt
echo Creating contents listing for %source%...
echo Contents of files in %source%:>%destination%
for /f %%i in (%source%) do (
echo.>>%destination%
echo [%%i]>>%destination%
type %%i>>%destination%
)
echo Done.
pause
cls
Here it isPeter wrote:Is there a german / english / french site?Vochomurka wrote:If you will make it frequently, you should use the combain utility for this purpose.
Peter
Home page of this tool here: http://tirna.narod.ru/main/main.htm (russian only)
- Vochomurka
- Power Member
- Posts: 814
- Joined: 2005-09-14, 22:19 UTC
- Location: Russia
- Contact:
1. Drag the combain.exe file to a button bar;
2. Select some files and drag them to the new button;
3. A dialog window is open. Everything is in English, except the title
2. Select some files and drag them to the new button;
3. A dialog window is open. Everything is in English, except the title
Single user license #329241
PowerPro scripts for Total Commander
PowerPro scripts for Total Commander
2MVV, 2Vochomurka
Peter was asking for English version of this site not the program, I gave him a link for translating the site by Google but his company security blocks the translating script.
Peter was asking for English version of this site not the program, I gave him a link for translating the site by Google but his company security blocks the translating script.
- Ambaquista
- Junior Member
- Posts: 60
- Joined: 2005-05-27, 11:11 UTC
- Location: Luanda, Angola
Or you can use a small program called TXTCollector
http://bluefive.pair.com/txtcollector.htm
TXTcollector grabs all .txt files (but you can select a specific extension, er. ION) from the directory of your choice and combines them into a new (larger) text file.
A bit later, but I just see this post...
http://bluefive.pair.com/txtcollector.htm
TXTcollector grabs all .txt files (but you can select a specific extension, er. ION) from the directory of your choice and combines them into a new (larger) text file.
A bit later, but I just see this post...