I am trying to use system call to gnu tar on Windows 2000. I am having some trouble understanding how tar works, exactly. What I want to do is add a file to a tar archive every time it has been changed. I only want the latest copy of the file in the tarball. I assumes that -u switch would do the trick, but it doesn't update the copy of the file already in the tarball, it adds a new copy with the latest changes. What's that all about? How do I accomplish this task. The second part of my question is how do I supress the output of system calls to tar? If I try
and $FileName is not in the tarball, I don't want to hear about it. Can this be done?