A constellation has a way to specify which drives, directories, files and extensions to include and which drives, directories, files and extensions to exclude. This could be handled with lists, wildcards and/or regexes.
A constellation should have a name so that it can be specified and updated in one place, and referenced by a short name as a parameter to some utility.
Unfortunately, the concept of constellation has not yet penetrated the programming world, so there is no uniform way to specify them, or reuse them in different programs. There is no standard DTD for the layout. This is primarily a political problem. Hint, hint. I invite you to share your ideas with me.
The definition of a standard constellation file format and constellation library would allow you to easily add filtering to any program designed to process just a single file. It would also the user to define a constellation once, and reuse it with a large number of different utilities.
How about some ideas on what the XML syntax for such a beast would look like? I could write a library to read it and let you then convert any single-file processing utility into a constellation-of-files processing utility. I will convert all my multi-file software to the new format and publish all source code. Maybe the idea will catch on. Here isz what a constellation file might look like:
It means, consider for backup the following files: All of the E:\mindprod directory tree. However, exclude the subtree kjv, and the subdirectory quadra (but not its subdirs). Exclude everything in the replicator subdirectory, however include all the *.html files except for the *log.html files which should be excluded. Also include all the z*.zip files in the replicator directory. Also consider the e:\com directory tree. Include all the *.java, *.html, *.txt and all the manifest.txt files. Finally include four files: E:/env/2008/taxreturn.xls, E:/env/secretpasswords.enc, E:/env/purchasedsoftwarekeys.txt and C:/personal/todo.txt.Obviously the fine points of the grammar need to be sorted out, but that gives you the general picture.
Eventually you could have GUI tools to create them with check boxes. You could have a uniform pre-check to let you know just what files would be processed.
![]() |
and suggestions to improve this page to Roedy Green : | ||
| Canadian Mind Products | |||
| mindprod.com IP:[65.110.21.43] | |||
| Your face IP:[38.103.63.62] | The information on this page is for non-military use only. | ||
| You are visitor number 11. | Military use includes use by defence contractors. | ||
| You can get a fresh copy of this page from: | or possibly from your local J: drive (Java virtual drive/mindprod.com website mirror) | ||
| http://mindprod.com/jgloss/constellation.html | J:\mindprod\jgloss\constellation.html | ||