Hi Eric!

I decided to solve the problem running Tar from a Lazarus program via TProcess(no shell involved). I have no troubles with run Tar and take its outputs back. With a little help of my friends from this mailing list.

I go to the site you mentioned and the explanation talks about back up network directories.

My idea go beyond this proposition. I'm trying to give the user a tool to select any file and/or directory from any kind(network or local files/directory) and generate a tar, tar.gz or zip file with the group of files/directories selected. The only problem I have 'till this moment is get filenames and directory names from the same visual component... Do you any suggestion?

Thank you

[ ]

Ricardo
At 11:00 30/1/2007, you wrote:
On Tuesday 30 January 2007 11:18:17 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?

I don't know how you do it in a cross-platform way, but if it's just for Linux
then the 'shell' function makes it easy to run shell commands from a Lazarus
program. I'm developing a simple personal backup utility using tar to do the
actual archiving work. If you're interested, have a look at the source code
at http://sourceforge.net/projects/backerupper

Eric

_________________________________________________________________
     To unsubscribe: mail [EMAIL PROTECTED] with
                "unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to