On 5/3/07, Mathew Snyder <[EMAIL PROTECTED]> wrote:
I have been given a task of installing a piece of backup software, then tarring
up all of the associated files in order to automate the installation onto other
machines. The only way I can think of doing this is to do an ls -l on / and
then doing a diff after the installation and manually adding those files to a
tar command.
What I'd rather do is automate this using perl. gather a list of the files,
perform the installation, getting a list of the new files by way of a diff or
some such and adding all those files to a tar command or some such.
Has anyone done such a thing or know of a module I should look at to achieve
this?
Mathew
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/
Can you specify an installation prefix dir? ie /usr/local/mysoftware
then you can simply use readdir() to get list of files in that
directory.
--
Rodrick R. Brown
http://www.rodrickbrown.com
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/