Hi Arí!
Arí Ricardo Ody wrote:
As I have troubles to remember the TAR functios and options I'm trying
to develop a graphical front end to run it. Then I need to select files
and/or directories from a visual dialog.
Is there a way to do this via Lazarus components?
Maybe a custom TTreeView descendant 'TDirectoryTreeView' next to the already
existing TFileListView can do the trick. (For Delphi there are such components,
maybe also for Laz)
You can add a file or directory to a separate list on a double click event, or
even nicer, show little checkboxes next to each item that the user can click on
to include or exclude an item. Such GUI components are also very powerful for
backup utility GUIs. (little OT: for backups I use a script calling rsync;
rsync's filter files are quite powerful. Only for rotating the backups in a
'geometrical' fashion I wrote a small commandline Pascal program.)
But if you can't find such components, and don't have the time to write one
yourself, you better either tar --help until you know it by heart or use
another GUI.
Regards,
Bram
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives